home *** CD-ROM | disk | FTP | other *** search
/ Digital Chisel 2.0 & Multimedia Libraries / Digital Chisel 2.0 and Multimedia Libraries (Pierian Spring Software)(1995).iso / Digital Chisel Installer / Digital Chisel Installer.rsrc / bin.rsrc_CODE_6_Libraries.txt < prev    next >
Text File  |  1995-12-05  |  105KB  |  1,890 lines

  1. # near model CODE resource
  2. # jump table entries: 880-918 (39 of them)
  3. export_147:
  4. 00000000  4E56 FFD4                link       A6, -0x002C
  5. 00000004  486E FFFC                pea.l      [A6 - 0x4]
  6. 00000008  A874                     syscall    GetPort
  7. 0000000A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  8. 0000000E  A873                     syscall    SetPort
  9. 00000010  486E FFEA                pea.l      [A6 - 0x16]
  10. 00000014  A898                     syscall    GetPenState
  11. 00000016  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  12. 0000001A  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  13. 0000001E  486E FFE8                pea.l      [A6 - 0x18]
  14. 00000022  486E FFE4                pea.l      [A6 - 0x1C]
  15. 00000026  486E FFDC                pea.l      [A6 - 0x24]
  16. 0000002A  A98D                     syscall    GetDialogItem/GetDItem
  17. 0000002C  2F3C 0003 0003           move.l     -[A7], 0x30003
  18. 00000032  A89B                     syscall    PenSize
  19. 00000034  2055                     movea.l    A0, [A5]
  20. 00000036  41E8 FFF0                lea.l      A0, [A0 - 0x10]
  21. 0000003A  43EE FFD4                lea.l      A1, [A6 - 0x2C]
  22. 0000003E  22D8                     move.l     [A1]+, [A0]+
  23. 00000040  2290                     move.l     [A1], [A0]
  24. 00000042  486E FFD4                pea.l      [A6 - 0x2C]
  25. 00000046  A89D                     syscall    PenPat
  26. 00000048  486E FFDC                pea.l      [A6 - 0x24]
  27. 0000004C  2F3C FFFC FFFC           move.l     -[A7], 0xFFFCFFFC
  28. 00000052  A8A9                     syscall    InsetRect
  29. 00000054  486E FFDC                pea.l      [A6 - 0x24]
  30. 00000058  2F3C 0010 0010           move.l     -[A7], 0x100010
  31. 0000005E  A8B0                     syscall    FrameRoundRect
  32. 00000060  486E FFEA                pea.l      [A6 - 0x16]
  33. 00000064  A899                     syscall    SetPenState
  34. 00000066  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  35. 0000006A  A873                     syscall    SetPort
  36. 0000006C  4E5E                     unlink     A6
  37. 0000006E  4E75                     rts
  38. 00000070  8842                     or.w       D4, D2
  39. 00000072  6F6C                     ble        +0x6E /* 000000E0 */
  40. 00000074  644C                     bcc        +0x4E /* 000000C2 */
  41. 00000076  696E                     bvs        +0x70 /* 000000E6 */
  42. 00000078  6500 0000                bcs        +0x2 /* 0000007A */
  43. // begin alternate branch 0000007A-00000080
  44. label0000007A:
  45. 0000007A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  46. export_148: // at 0000007C (misaligned)
  47. 0000007E  FFF8                     .invalid   <<F/7/7>>
  48. // end alternate branch 0000007A-00000080
  49. export_148:
  50. label0000007A: // (misaligned)
  51. 0000007C  4E56 FFF8                link       A6, -0x0008
  52. 00000080  48E7 0118                movem.l    -[A7], D7,A3,A4
  53. 00000084  3E2E 0008                move.w     D7, [A6 + 0x8]
  54. 00000088  99CC                     sub.l      A4, A4
  55. 0000008A  3F07                     move.w     -[A7], D7
  56. 0000008C  A979                     syscall    CouldDialog
  57. 0000008E  42A7                     clr.l      -[A7]
  58. 00000090  2F3C 444C 4F47           move.l     -[A7], 0x444C4F47 /* 'DLOG' */
  59. 00000096  3F07                     move.w     -[A7], D7
  60. 00000098  A9A0                     syscall    GetResource
  61. 0000009A  265F                     movea.l    A3, [A7]+
  62. 0000009C  200B                     move.l     D0, A3
  63. 0000009E  672A                     beq        +0x2C /* 000000CA */
  64. 000000A0  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  65. 000000A4  486E FFF8                pea.l      [A6 - 0x8]
  66. 000000A8  3F07                     move.w     -[A7], D7
  67. 000000AA  4EBA 003C                jsr        [PC + 0x3C /* 000000E8 */]
  68. 000000AE  2053                     movea.l    A0, [A3]
  69. 000000B0  20AE FFF8                move.l     [A0], [A6 - 0x8]
  70. 000000B4  216E FFFC 0004           move.l     [A0 + 0x4], [A6 - 0x4]
  71. 000000BA  4297                     clr.l      [A7]
  72. 000000BC  3F07                     move.w     -[A7], D7
  73. 000000BE  42A7                     clr.l      -[A7]
  74. 000000C0  4878 FFFF                push.l     0xFFFF
  75. // begin alternate branch 000000C2-000000C4
  76. label000000C2:
  77. 000000C2  FFFF                     .invalid   <<F/7/7>>
  78. // end alternate branch 000000C2-000000C4
  79. label000000C2: // (misaligned)
  80. 000000C4  A97C                     syscall    GetNewDialog
  81. 000000C6  285F                     movea.l    A4, [A7]+
  82. 000000C8  588F                     addq.l     A7, 4
  83. label000000CA:
  84. 000000CA  3F07                     move.w     -[A7], D7
  85. 000000CC  A97A                     syscall    FreeDialog
  86. 000000CE  200C                     move.l     D0, A4
  87. 000000D0  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  88. 000000D4  4E5E                     unlink     A6
  89. 000000D6  4E75                     rts
  90. 000000D8  8D47 6574                pack       D6, D7, 0x6574
  91. 000000DC  4365                     chk.w      D1, -[A5]
  92. 000000DE  6E74                     bgt        +0x76 /* 00000154 */
  93. label000000E0:
  94. 000000E0  6572                     bcs        +0x74 /* 00000154 */
  95. 000000E2  446C 6F67                neg.w      [A4 + 0x6F67]
  96. label000000E6:
  97. 000000E6  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  98. // begin alternate branch 000000E8-000000EC
  99. fn000000E8:
  100. 000000E8  4E56 FFD6                link       A6, -0x002A
  101. // end alternate branch 000000E8-000000EC
  102. fn000000E8: // (misaligned)
  103. 000000EA  FFD6                     .invalid   <<F/7/7>>
  104. 000000EC  42A7                     clr.l      -[A7]
  105. 000000EE  2F3C 444C 4F47           move.l     -[A7], 0x444C4F47 /* 'DLOG' */
  106. 000000F4  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  107. 000000F8  A9A0                     syscall    GetResource
  108. 000000FA  2D5F FFEA                move.l     [A6 - 0x16], [A7]+
  109. 000000FE  4AAE FFEA                tst.l      [A6 - 0x16]
  110. 00000102  6700 0416                beq        +0x418 /* 0000051A */
  111. 00000106  206E FFEA                movea.l    A0, [A6 - 0x16]
  112. 0000010A  2050                     movea.l    A0, [A0]
  113. 0000010C  2D50 FFDE                move.l     [A6 - 0x22], [A0]
  114. 00000110  2D68 0004 FFE2           move.l     [A6 - 0x1E], [A0 + 0x4]
  115. 00000116  2055                     movea.l    A0, [A5]
  116. 00000118  41E8 FF8C                lea.l      A0, [A0 - 0x74]
  117. 0000011C  43EE FFD6                lea.l      A1, [A6 - 0x2A]
  118. 00000120  22D8                     move.l     [A1]+, [A0]+
  119. 00000122  2290                     move.l     [A1], [A0]
  120. 00000124  066E 0014 FFD6           addi.w     [A6 - 0x2A], 0x14
  121. 0000012A  206E FFEA                movea.l    A0, [A6 - 0x16]
  122. 0000012E  2050                     movea.l    A0, [A0]
  123. 00000130  3D68 0008 FFEE           move.w     [A6 - 0x12], [A0 + 0x8]
  124. 00000136  4A6E FFEE                tst.w      [A6 - 0x12]
  125. 0000013A  6708                     beq        +0xA /* 00000144 */
  126. 0000013C  0C6E 0004 FFEE           cmpi.w     [A6 - 0x12], 0x4
  127. 00000142  6610                     bne        +0x12 /* 00000154 */
  128. label00000144:
  129. 00000144  046E 0012 FFDE           subi.w     [A6 - 0x22], 0x12
  130. 0000014A  526E FFE4                addq.w     [A6 - 0x1C], 1
  131. 0000014E  526E FFE2                addq.w     [A6 - 0x1E], 1
  132. 00000152  6036                     bra        +0x38 /* 0000018A */
  133. label00000154:
  134. 00000154  0C6E 0010 FFEE           cmpi.w     [A6 - 0x12], 0x10
  135. 0000015A  6608                     bne        +0xA /* 00000164 */
  136. 0000015C  046E 0012 FFDE           subi.w     [A6 - 0x22], 0x12
  137. 00000162  6026                     bra        +0x28 /* 0000018A */
  138. label00000164:
  139. 00000164  0C6E 0001 FFEE           cmpi.w     [A6 - 0x12], 0x1
  140. 0000016A  660E                     bne        +0x10 /* 0000017A */
  141. 0000016C  486E FFDE                pea.l      [A6 - 0x22]
  142. 00000170  2F3C FFFC FFFC           move.l     -[A7], 0xFFFCFFFC
  143. 00000176  A8A9                     syscall    InsetRect
  144. 00000178  6010                     bra        +0x12 /* 0000018A */
  145. label0000017A:
  146. 0000017A  0C6E 0003 FFEE           cmpi.w     [A6 - 0x12], 0x3
  147. 00000180  6608                     bne        +0xA /* 0000018A */
  148. 00000182  546E FFE4                addq.w     [A6 - 0x1C], 2
  149. 00000186  546E FFE2                addq.w     [A6 - 0x1E], 2
  150. label0000018A:
  151. 0000018A  302E 000E                move.w     D0, [A6 + 0xE]
  152. 0000018E  0C40 000B                cmpi.w     D0, 0xB
  153. 00000192  6200 0322                bhi        +0x324 /* 000004B6 */
  154. 00000196  43FA 03A6                lea.l      A1, [PC + 0x3A6 /* 0000053E, value 0xFF78FC64 */]
  155. 0000019A  D040                     add.w      D0, D0
  156. 0000019C  D2F1 0000                add.w      A1, [A1 + D0.w]
  157. 000001A0  4ED1                     jmp        [A1]
  158. 000001A2  302E FFDA                move.w     D0, [A6 - 0x26]
  159. 000001A6  906E FFD6                sub.w      D0, [A6 - 0x2A]
  160. 000001AA  E240                     asr        D0.w, 1
  161. 000001AC  D06E FFD6                add.w      D0, [A6 - 0x2A]
  162. 000001B0  3D40 FFE6                move.w     [A6 - 0x1A], D0
  163. 000001B4  302E FFDC                move.w     D0, [A6 - 0x24]
  164. 000001B8  906E FFD8                sub.w      D0, [A6 - 0x28]
  165. 000001BC  E240                     asr        D0.w, 1
  166. 000001BE  D06E FFD8                add.w      D0, [A6 - 0x28]
  167. 000001C2  3D40 FFE8                move.w     [A6 - 0x18], D0
  168. 000001C6  486E FFD6                pea.l      [A6 - 0x2A]
  169. 000001CA  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  170. 000001CE  486E FFDE                pea.l      [A6 - 0x22]
  171. 000001D2  4EBA 0382                jsr        [PC + 0x382 /* 00000556 */]
  172. 000001D6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  173. 000001DA  6000 02DA                bra        +0x2DC /* 000004B6 */
  174. 000001DE  302E FFDA                move.w     D0, [A6 - 0x26]
  175. 000001E2  906E FFD6                sub.w      D0, [A6 - 0x2A]
  176. 000001E6  E440                     asr        D0.w, 2
  177. 000001E8  D06E FFD6                add.w      D0, [A6 - 0x2A]
  178. 000001EC  3D40 FFE6                move.w     [A6 - 0x1A], D0
  179. 000001F0  302E FFDC                move.w     D0, [A6 - 0x24]
  180. 000001F4  906E FFD8                sub.w      D0, [A6 - 0x28]
  181. 000001F8  E240                     asr        D0.w, 1
  182. 000001FA  D06E FFD8                add.w      D0, [A6 - 0x28]
  183. 000001FE  3D40 FFE8                move.w     [A6 - 0x18], D0
  184. 00000202  486E FFD6                pea.l      [A6 - 0x2A]
  185. 00000206  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  186. 0000020A  486E FFDE                pea.l      [A6 - 0x22]
  187. 0000020E  4EBA 0346                jsr        [PC + 0x346 /* 00000556 */]
  188. 00000212  4FEF 000C                lea.l      A7, [A7 + 0xC]
  189. 00000216  6000 029E                bra        +0x2A0 /* 000004B6 */
  190. 0000021A  302E FFDA                move.w     D0, [A6 - 0x26]
  191. 0000021E  906E FFD6                sub.w      D0, [A6 - 0x2A]
  192. 00000222  E440                     asr        D0.w, 2
  193. 00000224  D06E FFD6                add.w      D0, [A6 - 0x2A]
  194. 00000228  3D40 FFE6                move.w     [A6 - 0x1A], D0
  195. 0000022C  302E FFDC                move.w     D0, [A6 - 0x24]
  196. 00000230  906E FFD8                sub.w      D0, [A6 - 0x28]
  197. 00000234  E440                     asr        D0.w, 2
  198. 00000236  D06E FFD8                add.w      D0, [A6 - 0x28]
  199. 0000023A  3D40 FFE8                move.w     [A6 - 0x18], D0
  200. 0000023E  486E FFD6                pea.l      [A6 - 0x2A]
  201. 00000242  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  202. 00000246  486E FFDE                pea.l      [A6 - 0x22]
  203. 0000024A  4EBA 030A                jsr        [PC + 0x30A /* 00000556 */]
  204. 0000024E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  205. 00000252  6000 0262                bra        +0x264 /* 000004B6 */
  206. 00000256  302E FFDA                move.w     D0, [A6 - 0x26]
  207. 0000025A  906E FFD6                sub.w      D0, [A6 - 0x2A]
  208. 0000025E  E240                     asr        D0.w, 1
  209. 00000260  D06E FFD6                add.w      D0, [A6 - 0x2A]
  210. 00000264  3D40 FFE6                move.w     [A6 - 0x1A], D0
  211. 00000268  302E FFDC                move.w     D0, [A6 - 0x24]
  212. 0000026C  906E FFD8                sub.w      D0, [A6 - 0x28]
  213. 00000270  E440                     asr        D0.w, 2
  214. 00000272  D06E FFD8                add.w      D0, [A6 - 0x28]
  215. 00000276  3D40 FFE8                move.w     [A6 - 0x18], D0
  216. 0000027A  486E FFD6                pea.l      [A6 - 0x2A]
  217. 0000027E  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  218. 00000282  486E FFDE                pea.l      [A6 - 0x22]
  219. 00000286  4EBA 02CE                jsr        [PC + 0x2CE /* 00000556 */]
  220. 0000028A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  221. 0000028E  6000 0226                bra        +0x228 /* 000004B6 */
  222. 00000292  302E FFDA                move.w     D0, [A6 - 0x26]
  223. 00000296  906E FFD6                sub.w      D0, [A6 - 0x2A]
  224. 0000029A  E440                     asr        D0.w, 2
  225. 0000029C  C1FC 0003                muls.w     D0, 0x3
  226. 000002A0  D06E FFD6                add.w      D0, [A6 - 0x2A]
  227. 000002A4  3D40 FFE6                move.w     [A6 - 0x1A], D0
  228. 000002A8  302E FFDC                move.w     D0, [A6 - 0x24]
  229. 000002AC  906E FFD8                sub.w      D0, [A6 - 0x28]
  230. 000002B0  E440                     asr        D0.w, 2
  231. 000002B2  D06E FFD8                add.w      D0, [A6 - 0x28]
  232. 000002B6  3D40 FFE8                move.w     [A6 - 0x18], D0
  233. 000002BA  486E FFD6                pea.l      [A6 - 0x2A]
  234. 000002BE  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  235. 000002C2  486E FFDE                pea.l      [A6 - 0x22]
  236. 000002C6  4EBA 028E                jsr        [PC + 0x28E /* 00000556 */]
  237. 000002CA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  238. 000002CE  6000 01E6                bra        +0x1E8 /* 000004B6 */
  239. 000002D2  302E FFDA                move.w     D0, [A6 - 0x26]
  240. 000002D6  906E FFD6                sub.w      D0, [A6 - 0x2A]
  241. 000002DA  E440                     asr        D0.w, 2
  242. 000002DC  C1FC 0003                muls.w     D0, 0x3
  243. 000002E0  D06E FFD6                add.w      D0, [A6 - 0x2A]
  244. 000002E4  3D40 FFE6                move.w     [A6 - 0x1A], D0
  245. 000002E8  302E FFDC                move.w     D0, [A6 - 0x24]
  246. 000002EC  906E FFD8                sub.w      D0, [A6 - 0x28]
  247. 000002F0  E240                     asr        D0.w, 1
  248. 000002F2  D06E FFD8                add.w      D0, [A6 - 0x28]
  249. 000002F6  3D40 FFE8                move.w     [A6 - 0x18], D0
  250. 000002FA  486E FFD6                pea.l      [A6 - 0x2A]
  251. 000002FE  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  252. 00000302  486E FFDE                pea.l      [A6 - 0x22]
  253. 00000306  4EBA 024E                jsr        [PC + 0x24E /* 00000556 */]
  254. 0000030A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  255. 0000030E  6000 01A6                bra        +0x1A8 /* 000004B6 */
  256. 00000312  302E FFDA                move.w     D0, [A6 - 0x26]
  257. 00000316  906E FFD6                sub.w      D0, [A6 - 0x2A]
  258. 0000031A  E440                     asr        D0.w, 2
  259. 0000031C  C1FC 0003                muls.w     D0, 0x3
  260. 00000320  D06E FFD6                add.w      D0, [A6 - 0x2A]
  261. 00000324  3D40 FFE6                move.w     [A6 - 0x1A], D0
  262. 00000328  302E FFDC                move.w     D0, [A6 - 0x24]
  263. 0000032C  906E FFD8                sub.w      D0, [A6 - 0x28]
  264. 00000330  E440                     asr        D0.w, 2
  265. 00000332  C1FC 0003                muls.w     D0, 0x3
  266. 00000336  D06E FFD8                add.w      D0, [A6 - 0x28]
  267. 0000033A  3D40 FFE8                move.w     [A6 - 0x18], D0
  268. 0000033E  486E FFD6                pea.l      [A6 - 0x2A]
  269. 00000342  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  270. 00000346  486E FFDE                pea.l      [A6 - 0x22]
  271. 0000034A  4EBA 020A                jsr        [PC + 0x20A /* 00000556 */]
  272. 0000034E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  273. 00000352  6000 0162                bra        +0x164 /* 000004B6 */
  274. 00000356  302E FFDA                move.w     D0, [A6 - 0x26]
  275. 0000035A  906E FFD6                sub.w      D0, [A6 - 0x2A]
  276. 0000035E  E240                     asr        D0.w, 1
  277. 00000360  D06E FFD6                add.w      D0, [A6 - 0x2A]
  278. 00000364  3D40 FFE6                move.w     [A6 - 0x1A], D0
  279. 00000368  302E FFDC                move.w     D0, [A6 - 0x24]
  280. 0000036C  906E FFD8                sub.w      D0, [A6 - 0x28]
  281. 00000370  E440                     asr        D0.w, 2
  282. 00000372  C1FC 0003                muls.w     D0, 0x3
  283. 00000376  D06E FFD8                add.w      D0, [A6 - 0x28]
  284. 0000037A  3D40 FFE8                move.w     [A6 - 0x18], D0
  285. 0000037E  486E FFD6                pea.l      [A6 - 0x2A]
  286. 00000382  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  287. 00000386  486E FFDE                pea.l      [A6 - 0x22]
  288. 0000038A  4EBA 01CA                jsr        [PC + 0x1CA /* 00000556 */]
  289. 0000038E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  290. 00000392  6000 0122                bra        +0x124 /* 000004B6 */
  291. 00000396  302E FFDA                move.w     D0, [A6 - 0x26]
  292. 0000039A  906E FFD6                sub.w      D0, [A6 - 0x2A]
  293. 0000039E  E440                     asr        D0.w, 2
  294. 000003A0  D06E FFD6                add.w      D0, [A6 - 0x2A]
  295. 000003A4  3D40 FFE6                move.w     [A6 - 0x1A], D0
  296. 000003A8  302E FFDC                move.w     D0, [A6 - 0x24]
  297. 000003AC  906E FFD8                sub.w      D0, [A6 - 0x28]
  298. 000003B0  E440                     asr        D0.w, 2
  299. 000003B2  C1FC 0003                muls.w     D0, 0x3
  300. 000003B6  D06E FFD8                add.w      D0, [A6 - 0x28]
  301. 000003BA  3D40 FFE8                move.w     [A6 - 0x18], D0
  302. 000003BE  486E FFD6                pea.l      [A6 - 0x2A]
  303. 000003C2  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  304. 000003C6  486E FFDE                pea.l      [A6 - 0x22]
  305. 000003CA  4EBA 018A                jsr        [PC + 0x18A /* 00000556 */]
  306. 000003CE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  307. 000003D2  6000 00E2                bra        +0xE4 /* 000004B6 */
  308. 000003D6  42A7                     clr.l      -[A7]
  309. 000003D8  A924                     syscall    FrontWindow
  310. 000003DA  2D5F FFF8                move.l     [A6 - 0x8], [A7]+
  311. 000003DE  6730                     beq        +0x32 /* 00000410 */
  312. 000003E0  486E FFFC                pea.l      [A6 - 0x4]
  313. 000003E4  A874                     syscall    GetPort
  314. 000003E6  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  315. 000003EA  A873                     syscall    SetPort
  316. 000003EC  206E FFF8                movea.l    A0, [A6 - 0x8]
  317. 000003F0  2D68 0010 FFF0           move.l     [A6 - 0x10], [A0 + 0x10]
  318. 000003F6  2D68 0014 FFF4           move.l     [A6 - 0xC], [A0 + 0x14]
  319. 000003FC  486E FFF0                pea.l      [A6 - 0x10]
  320. 00000400  A870                     syscall    LocalToGlobal
  321. 00000402  486E FFF4                pea.l      [A6 - 0xC]
  322. 00000406  A870                     syscall    LocalToGlobal
  323. 00000408  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  324. 0000040C  A873                     syscall    SetPort
  325. 0000040E  600C                     bra        +0xE /* 0000041C */
  326. label00000410:
  327. 00000410  2D6E FFD6 FFF0           move.l     [A6 - 0x10], [A6 - 0x2A]
  328. 00000416  2D6E FFDA FFF4           move.l     [A6 - 0xC], [A6 - 0x26]
  329. label0000041C:
  330. 0000041C  302E FFF4                move.w     D0, [A6 - 0xC]
  331. 00000420  906E FFF0                sub.w      D0, [A6 - 0x10]
  332. 00000424  E240                     asr        D0.w, 1
  333. 00000426  D06E FFF0                add.w      D0, [A6 - 0x10]
  334. 0000042A  3D40 FFE6                move.w     [A6 - 0x1A], D0
  335. 0000042E  302E FFF6                move.w     D0, [A6 - 0xA]
  336. 00000432  906E FFF2                sub.w      D0, [A6 - 0xE]
  337. 00000436  E240                     asr        D0.w, 1
  338. 00000438  D06E FFF2                add.w      D0, [A6 - 0xE]
  339. 0000043C  3D40 FFE8                move.w     [A6 - 0x18], D0
  340. 00000440  486E FFD6                pea.l      [A6 - 0x2A]
  341. 00000444  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  342. 00000448  486E FFDE                pea.l      [A6 - 0x22]
  343. 0000044C  4EBA 0108                jsr        [PC + 0x108 /* 00000556 */]
  344. 00000450  4FEF 000C                lea.l      A7, [A7 + 0xC]
  345. 00000454  6060                     bra        +0x62 /* 000004B6 */
  346. 00000456  302E FFDA                move.w     D0, [A6 - 0x26]
  347. 0000045A  906E FFD6                sub.w      D0, [A6 - 0x2A]
  348. 0000045E  E240                     asr        D0.w, 1
  349. 00000460  3D40 FFE6                move.w     [A6 - 0x1A], D0
  350. 00000464  302E FFE2                move.w     D0, [A6 - 0x1E]
  351. 00000468  906E FFDE                sub.w      D0, [A6 - 0x22]
  352. 0000046C  E240                     asr        D0.w, 1
  353. 0000046E  916E FFE6                sub.w      [A6 - 0x1A], D0
  354. 00000472  302E FFE6                move.w     D0, [A6 - 0x1A]
  355. 00000476  48C0                     ext.l      D0
  356. 00000478  81FC 0003                divs.w     D0, 0x3
  357. 0000047C  322E FFE2                move.w     D1, [A6 - 0x1E]
  358. 00000480  926E FFDE                sub.w      D1, [A6 - 0x22]
  359. 00000484  E241                     asr        D1.w, 1
  360. 00000486  D06E FFD6                add.w      D0, [A6 - 0x2A]
  361. 0000048A  D041                     add.w      D0, D1
  362. 0000048C  3D40 FFE6                move.w     [A6 - 0x1A], D0
  363. 00000490  302E FFDC                move.w     D0, [A6 - 0x24]
  364. 00000494  906E FFD8                sub.w      D0, [A6 - 0x28]
  365. 00000498  E240                     asr        D0.w, 1
  366. 0000049A  D06E FFD8                add.w      D0, [A6 - 0x28]
  367. 0000049E  3D40 FFE8                move.w     [A6 - 0x18], D0
  368. 000004A2  486E FFD6                pea.l      [A6 - 0x2A]
  369. 000004A6  2F2E FFE6                move.l     -[A7], [A6 - 0x1A]
  370. 000004AA  486E FFDE                pea.l      [A6 - 0x22]
  371. 000004AE  4EBA 00A6                jsr        [PC + 0xA6 /* 00000556 */]
  372. 000004B2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  373. label000004B6:
  374. 000004B6  4A6E FFEE                tst.w      [A6 - 0x12]
  375. 000004BA  6708                     beq        +0xA /* 000004C4 */
  376. 000004BC  0C6E 0004 FFEE           cmpi.w     [A6 - 0x12], 0x4
  377. 000004C2  6610                     bne        +0x12 /* 000004D4 */
  378. label000004C4:
  379. 000004C4  066E 0012 FFDE           addi.w     [A6 - 0x22], 0x12
  380. 000004CA  536E FFE4                subq.w     [A6 - 0x1C], 1
  381. 000004CE  536E FFE2                subq.w     [A6 - 0x1E], 1
  382. 000004D2  6036                     bra        +0x38 /* 0000050A */
  383. label000004D4:
  384. 000004D4  0C6E 0010 FFEE           cmpi.w     [A6 - 0x12], 0x10
  385. 000004DA  6608                     bne        +0xA /* 000004E4 */
  386. 000004DC  066E 0012 FFDE           addi.w     [A6 - 0x22], 0x12
  387. 000004E2  6026                     bra        +0x28 /* 0000050A */
  388. label000004E4:
  389. 000004E4  0C6E 0001 FFEE           cmpi.w     [A6 - 0x12], 0x1
  390. 000004EA  660E                     bne        +0x10 /* 000004FA */
  391. 000004EC  486E FFDE                pea.l      [A6 - 0x22]
  392. 000004F0  2F3C 0004 0004           move.l     -[A7], 0x40004
  393. 000004F6  A8A9                     syscall    InsetRect
  394. 000004F8  6010                     bra        +0x12 /* 0000050A */
  395. label000004FA:
  396. 000004FA  0C6E 0003 FFEE           cmpi.w     [A6 - 0x12], 0x3
  397. 00000500  6608                     bne        +0xA /* 0000050A */
  398. 00000502  556E FFE4                subq.w     [A6 - 0x1C], 2
  399. 00000506  556E FFE2                subq.w     [A6 - 0x1E], 2
  400. label0000050A:
  401. 0000050A  206E 000A                movea.l    A0, [A6 + 0xA]
  402. 0000050E  20AE FFDE                move.l     [A0], [A6 - 0x22]
  403. 00000512  216E FFE2 0004           move.l     [A0 + 0x4], [A6 - 0x1E]
  404. 00000518  600E                     bra        +0x10 /* 00000528 */
  405. label0000051A:
  406. 0000051A  206E 000A                movea.l    A0, [A6 + 0xA]
  407. 0000051E  20AD F4B4                move.l     [A0], [A5 - 0xB4C]
  408. 00000522  216D F4B8 0004           move.l     [A0 + 0x4], [A5 - 0xB48]
  409. label00000528:
  410. 00000528  4E5E                     unlink     A6
  411. 0000052A  4E75                     rts
  412. 0000052C  8E43                     or.w       D7, D3
  413. 0000052E  616C                     bsr        +0x6E /* 0000059C */
  414. 00000530  6343                     bls        +0x45 /* 00000575 */
  415. 00000532  656E                     bcs        +0x70 /* 000005A2 */
  416. 00000534  7465                     moveq.l    D2, 0x65
  417. 00000536  7244                     moveq.l    D1, 0x44
  418. 00000538  6C6F                     bge        +0x71 /* 000005A9 */
  419. 0000053A  6700 0018                beq        +0x1A /* 00000554 */
  420. 0000053E  FF78                     .extension 0xF78 <<F/4-5/7>> // unimplemented
  421. 00000540  FC64 FCA0                .extension 0xC64 <<F/1/6>>, 0xFCA0 // unimplemented
  422. 00000544  FCDC FD18                .extension 0xCDC <<F/2-3/6>> // unimplemented
  423. 00000548  FD54                     .extension 0xD54 <<F/4-5/6>> // unimplemented
  424. 0000054A  FD94                     .invalid   <<F/6/6>>
  425. 0000054C  FDD4                     .invalid   <<F/7/6>>
  426. 0000054E  FE18 FE58                .unknown   0xFE18 0xFE58 (W = 7)
  427. 00000552  FE98 FF18                .extension 0xE98 <<F/2-3/7>> // unimplemented
  428. // begin alternate branch 00000554-00000556
  429. label00000554:
  430. 00000554  FF18                     .extension 0xF18 <<F/4-5/7>> // unimplemented
  431. // end alternate branch 00000554-00000556
  432. label00000554: // (misaligned)
  433. fn00000556:
  434. 00000556  4E56 FFF8                link       A6, -0x0008
  435. 0000055A  48E7 0308                movem.l    -[A7], D6,D7,A4
  436. 0000055E  286E 0010                movea.l    A4, [A6 + 0x10]
  437. 00000562  206E 0008                movea.l    A0, [A6 + 0x8]
  438. 00000566  2D50 FFF8                move.l     [A6 - 0x8], [A0]
  439. 0000056A  2D68 0004 FFFC           move.l     [A6 - 0x4], [A0 + 0x4]
  440. 00000570  302E FFF8                move.w     D0, [A6 - 0x8]
  441. 00000574  916E FFFC                sub.w      [A6 - 0x4], D0
  442. 00000578  302E FFFC                move.w     D0, [A6 - 0x4]
  443. 0000057C  E240                     asr        D0.w, 1
  444. 0000057E  322E 000C                move.w     D1, [A6 + 0xC]
  445. 00000582  9240                     sub.w      D1, D0
  446. 00000584  3D41 FFF8                move.w     [A6 - 0x8], D1
  447. 00000588  302E FFF8                move.w     D0, [A6 - 0x8]
  448. 0000058C  D16E FFFC                add.w      [A6 - 0x4], D0
  449. 00000590  302E FFFA                move.w     D0, [A6 - 0x6]
  450. 00000594  916E FFFE                sub.w      [A6 - 0x2], D0
  451. 00000598  302E FFFE                move.w     D0, [A6 - 0x2]
  452. fn0000059C:
  453. 0000059C  E240                     asr        D0.w, 1
  454. 0000059E  322E 000E                move.w     D1, [A6 + 0xE]
  455. label000005A2:
  456. 000005A2  9240                     sub.w      D1, D0
  457. 000005A4  3D41 FFFA                move.w     [A6 - 0x6], D1
  458. 000005A8  302E FFFA                move.w     D0, [A6 - 0x6]
  459. 000005AC  D16E FFFE                add.w      [A6 - 0x2], D0
  460. 000005B0  3E2C 0004                move.w     D7, [A4 + 0x4]
  461. 000005B4  BE6E FFFC                cmp.w      D7, [A6 - 0x4]
  462. 000005B8  6C10                     bge        +0x12 /* 000005CA */
  463. 000005BA  3C2E FFFC                move.w     D6, [A6 - 0x4]
  464. 000005BE  9C47                     sub.w      D6, D7
  465. 000005C0  5C46                     addq.w     D6, 6
  466. 000005C2  9D6E FFF8                sub.w      [A6 - 0x8], D6
  467. 000005C6  9D6E FFFC                sub.w      [A6 - 0x4], D6
  468. label000005CA:
  469. 000005CA  3E2C 0006                move.w     D7, [A4 + 0x6]
  470. 000005CE  BE6E FFFE                cmp.w      D7, [A6 - 0x2]
  471. 000005D2  6C10                     bge        +0x12 /* 000005E4 */
  472. 000005D4  3C2E FFFE                move.w     D6, [A6 - 0x2]
  473. 000005D8  9C47                     sub.w      D6, D7
  474. 000005DA  5C46                     addq.w     D6, 6
  475. 000005DC  9D6E FFFA                sub.w      [A6 - 0x6], D6
  476. 000005E0  9D6E FFFE                sub.w      [A6 - 0x2], D6
  477. label000005E4:
  478. 000005E4  3E14                     move.w     D7, [A4]
  479. 000005E6  BE6E FFF8                cmp.w      D7, [A6 - 0x8]
  480. 000005EA  6F10                     ble        +0x12 /* 000005FC */
  481. 000005EC  3C07                     move.w     D6, D7
  482. 000005EE  9C6E FFF8                sub.w      D6, [A6 - 0x8]
  483. 000005F2  5C46                     addq.w     D6, 6
  484. 000005F4  DD6E FFF8                add.w      [A6 - 0x8], D6
  485. 000005F8  DD6E FFFC                add.w      [A6 - 0x4], D6
  486. label000005FC:
  487. 000005FC  3E2C 0002                move.w     D7, [A4 + 0x2]
  488. 00000600  BE6E FFFA                cmp.w      D7, [A6 - 0x6]
  489. 00000604  6F10                     ble        +0x12 /* 00000616 */
  490. 00000606  3C07                     move.w     D6, D7
  491. 00000608  9C6E FFFA                sub.w      D6, [A6 - 0x6]
  492. 0000060C  5C46                     addq.w     D6, 6
  493. 0000060E  DD6E FFFA                add.w      [A6 - 0x6], D6
  494. 00000612  DD6E FFFE                add.w      [A6 - 0x2], D6
  495. label00000616:
  496. 00000616  206E 0008                movea.l    A0, [A6 + 0x8]
  497. 0000061A  20AE FFF8                move.l     [A0], [A6 - 0x8]
  498. 0000061E  216E FFFC 0004           move.l     [A0 + 0x4], [A6 - 0x4]
  499. 00000624  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  500. 00000628  4E5E                     unlink     A6
  501. 0000062A  4E75                     rts
  502. 0000062C  8C43                     or.w       D6, D3
  503. 0000062E  616C                     bsr        +0x6E /* 0000069C */
  504. 00000630  6357                     bls        +0x59 /* 00000689 */
  505. 00000632  696E                     bvs        +0x70 /* 000006A2 */
  506. 00000634  6452                     bcc        +0x54 /* 00000688 */
  507. 00000636  6563                     bcs        +0x65 /* 0000069B */
  508. 00000638  7400                     moveq.l    D2, 0x00
  509. 0000063A  0000 206F                ori.b      D0, 0x6F /* 'o' */
  510. export_136: // at 0000063C (misaligned)
  511. 0000063E  0004 43E8                ori.b      D4, 0xE8
  512. 00000642  0001 7000                ori.b      D1, 0x0
  513. label00000646:
  514. 00000646  1210                     move.b     D1, [A0]
  515. 00000648  10C0                     move.b     [A0]+, D0
  516. 0000064A  1001                     move.b     D0, D1
  517. 0000064C  66F8                     bne        -0x6 /* 00000646 */
  518. 0000064E  91C9                     sub.l      A0, A1
  519. 00000650  2008                     move.l     D0, A0
  520. 00000652  1300                     move.b     -[A1], D0
  521. 00000654  2009                     move.l     D0, A1
  522. 00000656  4E75                     rts
  523. 00000658  206F 0004                movea.l    A0, [A7 + 0x4]
  524. 0000065C  7000                     moveq.l    D0, 0x00
  525. 0000065E  1010                     move.b     D0, [A0]
  526. 00000660  6004                     bra        +0x6 /* 00000666 */
  527. label00000662:
  528. 00000662  10E8 0001                move.b     [A0]+, [A0 + 0x1]
  529. label00000666:
  530. 00000666  51C8 FFFA                dbf        D0, -0x8 /* 00000662 */
  531. 0000066A  4210                     clr.b      [A0]
  532. 0000066C  202F 0004                move.l     D0, [A7 + 0x4]
  533. 00000670  4E75                     rts
  534. export_110:
  535. 00000672  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  536. 00000676  6B22                     bmi        +0x24 /* 0000069A */
  537. 00000678  303C 0090                move.w     D0, 0x90
  538. 0000067C  A346                     syscall    GetOSTrapAddress, flags=3
  539. 0000067E  2248                     movea.l    A1, A0
  540. 00000680  303C 009F                move.w     D0, 0x9F
  541. 00000684  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  542. 00000686  B3C8                     cmpa.l     A1, A0
  543. label00000688:
  544. 00000688  6710                     beq        +0x12 /* 0000069A */
  545. 0000068A  225F                     movea.l    A1, [A7]+
  546. 0000068C  205F                     movea.l    A0, [A7]+
  547. 0000068E  301F                     move.w     D0, [A7]+
  548. 00000690  2F09                     move.l     -[A7], A1
  549. 00000692  A090                     syscall    SysEnvirons
  550. 00000694  3F40 0004                move.w     [A7 + 0x4], D0
  551. 00000698  4E75                     rts
  552. label0000069A:
  553. 0000069A  206F 0004                movea.l    A0, [A7 + 0x4]
  554. // begin alternate branch 0000069C-000006A4
  555. fn0000069C:
  556. 0000069C  0004 303C                ori.b      D4, 0x3C /* '<' */
  557. 000006A0  0001 2248                ori.b      D1, 0x48 /* 'H' */
  558. // end alternate branch 0000069C-000006A4
  559. fn0000069C: // (misaligned)
  560. 0000069E  303C 0001                move.w     D0, 0x1
  561. label000006A2:
  562. 000006A2  2248                     movea.l    A1, A0
  563. 000006A4  6006                     bra        +0x8 /* 000006AC */
  564. 000006A6  0313                     btst       [A3], D1
  565. 000006A8  0B02                     btst       D2, D5
  566. 000006AA  0100                     btst       D0, D0
  567. label000006AC:
  568. 000006AC  303C 0010                move.w     D0, 0x10
  569. 000006B0  E240                     asr        D0.w, 1
  570. 000006B2  5340                     subq.w     D0, 1
  571. label000006B4:
  572. 000006B4  4258                     clr.w      [A0]+
  573. 000006B6  51C8 FFFC                dbf        D0, -0x6 /* 000006B4 */
  574. 000006BA  32BC 0002                move.w     [A1], 0x2
  575. 000006BE  2078 02AE                movea.l    A0, [0x000002AE /* ROMBase */]
  576. 000006C2  337C FFFE 0002           move.w     [A1 + 0x2], 0xFFFE
  577. 000006C8  0C28 00FF 0009           cmpi.b     [A0 + 0x9], 0xFF
  578. 000006CE  6742                     beq        +0x44 /* 00000712 */
  579. 000006D0  4A28 0008                tst.b      [A0 + 0x8]
  580. 000006D4  6E20                     bgt        +0x22 /* 000006F6 */
  581. 000006D6  337C FFFF 0002           move.w     [A1 + 0x2], 0xFFFF
  582. 000006DC  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  583. 000006E0  6B30                     bmi        +0x32 /* 00000712 */
  584. 000006E2  337C 0001 0002           move.w     [A1 + 0x2], 0x1
  585. 000006E8  4A78 0B22                tst.w      [0x00000B22 /* HWCfgFlags */]
  586. 000006EC  6A24                     bpl        +0x26 /* 00000712 */
  587. 000006EE  337C 0002 0002           move.w     [A1 + 0x2], 0x2
  588. 000006F4  601C                     bra        +0x1E /* 00000712 */
  589. label000006F6:
  590. 000006F6  4269 0002                clr.w      [A1 + 0x2]
  591. 000006FA  0C28 0002 0008           cmpi.b     [A0 + 0x8], 0x2
  592. 00000700  6E10                     bgt        +0x12 /* 00000712 */
  593. 00000702  6708                     beq        +0xA /* 0000070C */
  594. 00000704  337C 0004 0002           move.w     [A1 + 0x2], 0x4
  595. 0000070A  6006                     bra        +0x8 /* 00000712 */
  596. label0000070C:
  597. 0000070C  337C 0003 0002           move.w     [A1 + 0x2], 0x3
  598. label00000712:
  599. 00000712  4269 0004                clr.w      [A1 + 0x4]
  600. 00000716  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  601. 0000071C  6E0A                     bgt        +0xC /* 00000728 */
  602. 0000071E  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  603. 00000722  5240                     addq.w     D0, 1
  604. 00000724  1340 0007                move.b     [A1 + 0x7], D0
  605. label00000728:
  606. 00000728  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  607. 0000072C  6B0E                     bmi        +0x10 /* 0000073C */
  608. 0000072E  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  609. 00000734  6706                     beq        +0x8 /* 0000073C */
  610. 00000736  137C 0001 0008           move.b     [A1 + 0x8], 0x1
  611. label0000073C:
  612. 0000073C  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  613. 00000742  6206                     bhi        +0x8 /* 0000074A */
  614. 00000744  137C 0001 0009           move.b     [A1 + 0x9], 0x1
  615. label0000074A:
  616. 0000074A  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  617. 0000074E  41FA FF5B                lea.l      A0, [PC - 0xA5 /* 000006AB, value 0x303C00 '0<\0', cstring "" */]
  618. 00000752  323C 0004                move.w     D1, 0x4
  619. label00000756:
  620. 00000756  B020                     cmp.b      D0, -[A0]
  621. 00000758  57C9 FFFC                dbeq       D1, -0x6 /* 00000756 */
  622. 0000075C  5241                     addq.w     D1, 1
  623. 0000075E  3341 000A                move.w     [A1 + 0xA], D1
  624. 00000762  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  625. 00000766  6B18                     bmi        +0x1A /* 00000780 */
  626. 00000768  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  627. 0000076C  0201 000F                andi.b     D1, 0xF
  628. 00000770  0C01 0001                cmpi.b     D1, 0x1
  629. 00000774  660A                     bne        +0xC /* 00000780 */
  630. 00000776  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  631. 0000077A  1368 0007 000D           move.b     [A1 + 0xD], [A0 + 0x7]
  632. label00000780:
  633. 00000780  3378 0210 000E           move.w     [A1 + 0xE], [0x00000210 /* BootDrive */]
  634. 00000786  4A78 03F6                tst.w      [0x000003F6 /* FSFCBLen */]
  635. 0000078A  6D44                     blt        +0x46 /* 000007D0 */
  636. 0000078C  4269 000E                clr.w      [A1 + 0xE]
  637. 00000790  323C 003C                move.w     D1, 0x3C /* '<' */
  638. label00000794:
  639. 00000794  4267                     clr.w      -[A7]
  640. 00000796  51C9 FFFC                dbf        D1, -0x6 /* 00000794 */
  641. 0000079A  204F                     movea.l    A0, A7
  642. 0000079C  3178 0A58 0018           move.w     [A0 + 0x18], [0x00000A58 /* SysMap */]
  643. 000007A2  7008                     moveq.l    D0, 0x08
  644. 000007A4  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  645. 000007A6  6624                     bne        +0x26 /* 000007CC */
  646. 000007A8  3168 0034 0016           move.w     [A0 + 0x16], [A0 + 0x34]
  647. 000007AE  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  648. 000007B0  661A                     bne        +0x1C /* 000007CC */
  649. 000007B2  2168 005A 0030           move.l     [A0 + 0x30], [A0 + 0x5A]
  650. 000007B8  217C 4552 494B 001C      move.l     [A0 + 0x1C], 0x4552494B /* 'ERIK' */
  651. 000007C0  7001                     moveq.l    D0, 0x01
  652. 000007C2  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  653. 000007C4  6606                     bne        +0x8 /* 000007CC */
  654. 000007C6  3368 0016 000E           move.w     [A1 + 0xE], [A0 + 0x16]
  655. label000007CC:
  656. 000007CC  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  657. label000007D0:
  658. 000007D0  2049                     movea.l    A0, A1
  659. 000007D2  225F                     movea.l    A1, [A7]+
  660. 000007D4  5C4F                     addq.w     A7, 6
  661. 000007D6  3EBC EA84                move.w     [A7], 0xEA84
  662. 000007DA  4ED1                     jmp        [A1]
  663. export_111:
  664. fn000007DC:
  665. 000007DC  4E56 0000                link       A6, 0
  666. 000007E0  203C 0000 A89F           move.l     D0, 0xA89F
  667. 000007E6  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  668. 000007E8  2F08                     move.l     -[A7], A0
  669. 000007EA  203C 0000 A0AD           move.l     D0, 0xA0AD
  670. 000007F0  A346                     syscall    GetOSTrapAddress, flags=3
  671. 000007F2  B1DF                     cmpa.l     A0, [A7]+
  672. 000007F4  670E                     beq        +0x10 /* 00000804 */
  673. 000007F6  202E 000C                move.l     D0, [A6 + 0xC]
  674. 000007FA  A1AD                     syscall    Gestalt, flags=1
  675. 000007FC  226E 0008                movea.l    A1, [A6 + 0x8]
  676. 00000800  2288                     move.l     [A1], A0
  677. 00000802  6026                     bra        +0x28 /* 0000082A */
  678. label00000804:
  679. 00000804  41FA 0036                lea.l      A0, [PC + 0x36 /* 0000083C, value 0x76657273 'vers', cstring "vers" */]
  680. 00000808  303C EA51                move.w     D0, 0xEA51
  681. 0000080C  222E 000C                move.l     D1, [A6 + 0xC]
  682. label00000810:
  683. 00000810  B298                     cmp.l      D1, [A0]+
  684. 00000812  6706                     beq        +0x8 /* 0000081A */
  685. 00000814  4A98                     tst.l      [A0]+
  686. 00000816  6712                     beq        +0x14 /* 0000082A */
  687. 00000818  60F6                     bra        -0x8 /* 00000810 */
  688. label0000081A:
  689. 0000081A  43FA 0020                lea.l      A1, [PC + 0x20 /* 0000083C, value 0x76657273 'vers', cstring "vers" */]
  690. 0000081E  D3D0                     add.l      A1, [A0]
  691. 00000820  4ED1                     jmp        [A1]
  692. label00000822:
  693. 00000822  226E 0008                movea.l    A1, [A6 + 0x8]
  694. 00000826  2280                     move.l     [A1], D0
  695. 00000828  4240                     clr.w      D0
  696. label0000082A:
  697. 0000082A  3D40 0010                move.w     [A6 + 0x10], D0
  698. 0000082E  4E5E                     unlink     A6
  699. 00000830  205F                     movea.l    A0, [A7]+
  700. 00000832  508F                     addq.l     A7, 8
  701. 00000834  4ED0                     jmp        [A0]
  702. label00000836:
  703. 00000836  303C EA52                move.w     D0, 0xEA52
  704. 0000083A  60EE                     bra        -0x10 /* 0000082A */
  705. 0000083C  7665                     moveq.l    D3, 0x65
  706. 0000083E  7273                     moveq.l    D1, 0x73
  707. 00000840  0000 0060                ori.b      D0, 0x60 /* '`' */
  708. 00000844  6D61                     blt        +0x63 /* 000008A7 */
  709. 00000846  6368                     bls        +0x6A /* 000008B0 */
  710. 00000848  0000 0064                ori.b      D0, 0x64 /* 'd' */
  711. 0000084C  7379                     moveq.l    D1, 0x79
  712. 0000084E  7376                     moveq.l    D1, 0x76
  713. 00000850  0000 0088                ori.b      D0, 0x88
  714. 00000854  7072                     moveq.l    D0, 0x72
  715. 00000856  6F63                     ble        +0x65 /* 000008BB */
  716. 00000858  0000 0092                ori.b      D0, 0x92
  717. 0000085C  6670                     bne        +0x72 /* 000008CE */
  718. 0000085E  7520                     moveq.l    D2, 0x20
  719. 00000860  0000 009E                ori.b      D0, 0x9E
  720. 00000864  7164                     moveq.l    D0, 0x64
  721. 00000866  2020                     move.l     D0, -[A0]
  722. 00000868  0000 00E8                ori.b      D0, 0xE8
  723. 0000086C  6B62                     bmi        +0x64 /* 000008D0 */
  724. 0000086E  6420                     bcc        +0x22 /* 00000890 */
  725. 00000870  0000 011A                ori.b      D0, 0x1A
  726. 00000874  6174                     bsr        +0x76 /* 000008EA */
  727. 00000876  6C6B                     bge        +0x6D /* 000008E3 */
  728. 00000878  0000 0142                ori.b      D0, 0x42 /* 'B' */
  729. 0000087C  6D6D                     blt        +0x6F /* 000008EB */
  730. 0000087E  7520                     moveq.l    D2, 0x20
  731. 00000880  0000 0164                ori.b      D0, 0x64 /* 'd' */
  732. 00000884  7261                     moveq.l    D1, 0x61
  733. 00000886  6D20                     blt        +0x22 /* 000008A8 */
  734. 00000888  0000 0188                ori.b      D0, 0x88
  735. 0000088C  6C72                     bge        +0x74 /* 00000900 */
  736. 0000088E  616D                     bsr        +0x6F /* 000008FD */
  737. label00000890:
  738. 00000890  0000 0188                ori.b      D0, 0x88
  739. 00000894  0000 0000                ori.b      D0, 0x0
  740. 00000898  0000 0000                ori.b      D0, 0x0
  741. 0000089C  7001                     moveq.l    D0, 0x01
  742. 0000089E  6082                     bra        -0x7C /* 00000822 */
  743. 000008A0  2278 02AE                movea.l    A1, [0x000002AE /* ROMBase */]
  744. 000008A4  7004                     moveq.l    D0, 0x04
  745. 000008A6  0C69 0075 0008           cmpi.w     [A1 + 0x8], 0x75 /* 'u' */
  746. // begin alternate branch 000008A8-000008B0
  747. label000008A8:
  748. 000008A8  0075 0008 6712 0C69      ori.w      [[A5 + D6 * 8] + 0xC69], 0x8
  749. // end alternate branch 000008A8-000008B0
  750. label000008A8: // (misaligned)
  751. 000008AC  6712                     beq        +0x14 /* 000008C0 */
  752. 000008AE  0C69 0276 0008           cmpi.w     [A1 + 0x8], 0x276
  753. // begin alternate branch 000008B0-000008B6
  754. label000008B0:
  755. 000008B0  0276 0008 6604           andi.w     [A6 + D6.w * 8 + 0x4], 0x8
  756. // end alternate branch 000008B0-000008B6
  757. label000008B0: // (misaligned)
  758. 000008B4  6604                     bne        +0x6 /* 000008BA */
  759. 000008B6  5240                     addq.w     D0, 1
  760. 000008B8  6006                     bra        +0x8 /* 000008C0 */
  761. label000008BA:
  762. 000008BA  1038 0CB3                move.b     D0, [0x00000CB3 /* MMUFluff/MachineType */]
  763. 000008BE  5C80                     addq.l     D0, 6
  764. label000008C0:
  765. 000008C0  6000 FF60                bra        -0x9E /* 00000822 */
  766. 000008C4  7000                     moveq.l    D0, 0x00
  767. 000008C6  3038 015A                move.w     D0, [0x0000015A /* SysVersion */]
  768. 000008CA  6000 FF56                bra        -0xA8 /* 00000822 */
  769. label000008CE:
  770. 000008CE  7000                     moveq.l    D0, 0x00
  771. label000008D0:
  772. 000008D0  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  773. 000008D4  5240                     addq.w     D0, 1
  774. 000008D6  6000 FF4A                bra        -0xB4 /* 00000822 */
  775. 000008DA  0C38 0004 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x4
  776. 000008E0  6738                     beq        +0x3A /* 0000091A */
  777. 000008E2  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  778. 000008E8  6734                     beq        +0x36 /* 0000091E */
  779. fn000008EA:
  780. 000008EA  204F                     movea.l    A0, A7
  781. 000008EC  F280 0000                fnop
  782. 000008F0  F327                     .extension 0x327 <<F/4-5/1>> // unimplemented
  783. 000008F2  3017                     move.w     D0, [A7]
  784. 000008F4  2E48                     movea.l    A7, A0
  785. 000008F6  0C40 1F18                cmpi.w     D0, 0x1F18
  786. 000008FA  6716                     beq        +0x18 /* 00000912 */
  787. 000008FC  0C40 3F18                cmpi.w     D0, 0x3F18
  788. label00000900:
  789. 00000900  6710                     beq        +0x12 /* 00000912 */
  790. 00000902  0C40 3F38                cmpi.w     D0, 0x3F38 /* '?8' */
  791. 00000906  670E                     beq        +0x10 /* 00000916 */
  792. 00000908  0C40 1F38                cmpi.w     D0, 0x1F38
  793. 0000090C  6708                     beq        +0xA /* 00000916 */
  794. 0000090E  7000                     moveq.l    D0, 0x00
  795. 00000910  600E                     bra        +0x10 /* 00000920 */
  796. label00000912:
  797. 00000912  7001                     moveq.l    D0, 0x01
  798. 00000914  600A                     bra        +0xC /* 00000920 */
  799. label00000916:
  800. 00000916  7002                     moveq.l    D0, 0x02
  801. 00000918  6006                     bra        +0x8 /* 00000920 */
  802. label0000091A:
  803. 0000091A  7003                     moveq.l    D0, 0x03
  804. 0000091C  6002                     bra        +0x4 /* 00000920 */
  805. label0000091E:
  806. 0000091E  7000                     moveq.l    D0, 0x00
  807. label00000920:
  808. 00000920  6000 FF00                bra        -0xFE /* 00000822 */
  809. 00000924  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  810. 0000092A  6E1C                     bgt        +0x1E /* 00000948 */
  811. 0000092C  303C A89F                move.w     D0, 0xA89F
  812. 00000930  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  813. 00000932  2408                     move.l     D2, A0
  814. 00000934  203C 0000 AB03           move.l     D0, 0xAB03
  815. 0000093A  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  816. 0000093C  203C 0000 0100           move.l     D0, 0x100
  817. 00000942  B488                     cmp.l      D2, A0
  818. 00000944  6606                     bne        +0x8 /* 0000094C */
  819. 00000946  600A                     bra        +0xC /* 00000952 */
  820. label00000948:
  821. 00000948  7000                     moveq.l    D0, 0x00
  822. 0000094A  6006                     bra        +0x8 /* 00000952 */
  823. label0000094C:
  824. 0000094C  203C 0000 0200           move.l     D0, 0x200
  825. label00000952:
  826. 00000952  6000 FECE                bra        -0x130 /* 00000822 */
  827. 00000956  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  828. 0000095A  41FA 0016                lea.l      A0, [PC + 0x16 /* 00000972, value 0x3130B02 */]
  829. 0000095E  2248                     movea.l    A1, A0
  830. label00000960:
  831. 00000960  1218                     move.b     D1, [A0]+
  832. 00000962  6700 FED2                beq        -0x12C /* 00000836 */
  833. 00000966  B200                     cmp.b      D1, D0
  834. 00000968  66F6                     bne        -0x8 /* 00000960 */
  835. 0000096A  91C9                     sub.l      A0, A1
  836. 0000096C  2008                     move.l     D0, A0
  837. 0000096E  6000 FEB2                bra        -0x14C /* 00000822 */
  838. 00000972  0313                     btst       [A3], D1
  839. 00000974  0B02                     btst       D2, D5
  840. 00000976  0106                     btst       D6, D0
  841. 00000978  0704                     btst       D4, D3
  842. 0000097A  0508                     btst       A0, D2
  843. 0000097C  0900                     btst       D0, D4
  844. 0000097E  7000                     moveq.l    D0, 0x00
  845. 00000980  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  846. 00000984  6B16                     bmi        +0x18 /* 0000099C */
  847. 00000986  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  848. 0000098A  0201 000F                andi.b     D1, 0xF
  849. 0000098E  0C01 0001                cmpi.b     D1, 0x1
  850. 00000992  6608                     bne        +0xA /* 0000099C */
  851. 00000994  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  852. 00000998  1028 0007                move.b     D0, [A0 + 0x7]
  853. label0000099C:
  854. 0000099C  6000 FE84                bra        -0x17A /* 00000822 */
  855. 000009A0  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  856. 000009A6  6D16                     blt        +0x18 /* 000009BE */
  857. 000009A8  7000                     moveq.l    D0, 0x00
  858. 000009AA  1038 0CB1                move.b     D0, [0x00000CB1 /* MMUType */]
  859. 000009AE  0C00 0001                cmpi.b     D0, 0x1
  860. 000009B2  670C                     beq        +0xE /* 000009C0 */
  861. 000009B4  0C00 0003                cmpi.b     D0, 0x3
  862. 000009B8  6D04                     blt        +0x6 /* 000009BE */
  863. 000009BA  5340                     subq.w     D0, 1
  864. 000009BC  6002                     bra        +0x4 /* 000009C0 */
  865. label000009BE:
  866. 000009BE  7000                     moveq.l    D0, 0x00
  867. label000009C0:
  868. 000009C0  6000 FE60                bra        -0x19E /* 00000822 */
  869. 000009C4  303C A89F                move.w     D0, 0xA89F
  870. 000009C8  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  871. 000009CA  2408                     move.l     D2, A0
  872. 000009CC  203C 0000 A88F           move.l     D0, 0xA88F
  873. 000009D2  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  874. 000009D4  2038 0108                move.l     D0, [0x00000108 /* MemTop */]
  875. 000009D8  B488                     cmp.l      D2, A0
  876. 000009DA  670A                     beq        +0xC /* 000009E6 */
  877. 000009DC  598F                     subq.l     A7, 4
  878. 000009DE  3F3C 0016                move.w     -[A7], 0x16
  879. 000009E2  A88F                     syscall    OSDispatch
  880. 000009E4  201F                     move.l     D0, [A7]+
  881. label000009E6:
  882. 000009E6  6000 FE3A                bra        -0x1C4 /* 00000822 */
  883. export_112:
  884. 000009EA  225F                     movea.l    A1, [A7]+
  885. 000009EC  205F                     movea.l    A0, [A7]+
  886. 000009EE  A021                     syscall    GetPtrSize
  887. 000009F0  2E80                     move.l     [A7], D0
  888. 000009F2  6A02                     bpl        +0x4 /* 000009F6 */
  889. 000009F4  4297                     clr.l      [A7]
  890. label000009F6:
  891. 000009F6  4ED1                     jmp        [A1]
  892. export_113:
  893. 000009F8  225F                     movea.l    A1, [A7]+
  894. 000009FA  205F                     movea.l    A0, [A7]+
  895. 000009FC  A025                     syscall    GetHandleSize
  896. 000009FE  2E80                     move.l     [A7], D0
  897. 00000A00  6A02                     bpl        +0x4 /* 00000A04 */
  898. 00000A02  4297                     clr.l      [A7]
  899. label00000A04:
  900. 00000A04  4ED1                     jmp        [A1]
  901. export_114:
  902. fn00000A06:
  903. 00000A06  225F                     movea.l    A1, [A7]+
  904. 00000A08  121F                     move.b     D1, [A7]+
  905. 00000A0A  301F                     move.w     D0, [A7]+
  906. 00000A0C  4A01                     tst.b      D1
  907. 00000A0E  6704                     beq        +0x6 /* 00000A14 */
  908. 00000A10  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  909. 00000A12  6002                     bra        +0x4 /* 00000A16 */
  910. label00000A14:
  911. 00000A14  A346                     syscall    GetOSTrapAddress, flags=3
  912. label00000A16:
  913. 00000A16  2E88                     move.l     [A7], A0
  914. 00000A18  4ED1                     jmp        [A1]
  915. export_115:
  916. 00000A1A  206F 000C                movea.l    A0, [A7 + 0xC]
  917. 00000A1E  226F 0008                movea.l    A1, [A7 + 0x8]
  918. 00000A22  7000                     moveq.l    D0, 0x00
  919. 00000A24  1018                     move.b     D0, [A0]+
  920. 00000A26  4840                     swap.w     D0
  921. 00000A28  1019                     move.b     D0, [A1]+
  922. 00000A2A  4A2F 0004                tst.b      [A7 + 0x4]
  923. 00000A2E  670E                     beq        +0x10 /* 00000A3E */
  924. 00000A30  4A2F 0006                tst.b      [A7 + 0x6]
  925. 00000A34  6704                     beq        +0x6 /* 00000A3A */
  926. 00000A36  A43C                     syscall    CmpString, flags=4
  927. 00000A38  6010                     bra        +0x12 /* 00000A4A */
  928. label00000A3A:
  929. 00000A3A  A03C                     syscall    CmpString
  930. 00000A3C  600C                     bra        +0xE /* 00000A4A */
  931. label00000A3E:
  932. 00000A3E  4A2F 0006                tst.b      [A7 + 0x6]
  933. 00000A42  6704                     beq        +0x6 /* 00000A48 */
  934. 00000A44  A63C                     syscall    CmpString, flags=6
  935. 00000A46  6002                     bra        +0x4 /* 00000A4A */
  936. label00000A48:
  937. 00000A48  A23C                     syscall    CmpString, flags=2
  938. label00000A4A:
  939. 00000A4A  0A00 0001                xori.b     D0, 0x1
  940. 00000A4E  1F40 0010                move.b     [A7 + 0x10], D0
  941. 00000A52  205F                     movea.l    A0, [A7]+
  942. 00000A54  4FEF 000C                lea.l      A7, [A7 + 0xC]
  943. 00000A58  4ED0                     jmp        [A0]
  944. export_116:
  945. 00000A5A  4E56 FFCE                link       A6, -0x0032
  946. 00000A5E  204F                     movea.l    A0, A7
  947. 00000A60  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  948. 00000A66  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  949. 00000A6C  4228 001A                clr.b      [A0 + 0x1A]
  950. 00000A70  4228 001B                clr.b      [A0 + 0x1B]
  951. 00000A74  42A8 001C                clr.l      [A0 + 0x1C]
  952. 00000A78  701A                     moveq.l    D0, 0x1A
  953. 00000A7A  A060                     syscall    FSDispatch/HFSDispatch
  954. 00000A7C  0C40 FFCE                cmpi.w     D0, 0xFFCE
  955. 00000A80  6602                     bne        +0x4 /* 00000A84 */
  956. 00000A82  A000                     syscall    Open/PBHOpen/HOpen
  957. label00000A84:
  958. 00000A84  226E 0008                movea.l    A1, [A6 + 0x8]
  959. 00000A88  32A8 0018                move.w     [A1], [A0 + 0x18]
  960. 00000A8C  3D40 0012                move.w     [A6 + 0x12], D0
  961. 00000A90  4E5E                     unlink     A6
  962. 00000A92  205F                     movea.l    A0, [A7]+
  963. 00000A94  4FEF 000A                lea.l      A7, [A7 + 0xA]
  964. 00000A98  4ED0                     jmp        [A0]
  965. export_117:
  966. fn00000A9A:
  967. 00000A9A  4E56 FFCE                link       A6, -0x0032
  968. 00000A9E  204F                     movea.l    A0, A7
  969. 00000AA0  316E 0008 0018           move.w     [A0 + 0x18], [A6 + 0x8]
  970. 00000AA6  A001                     syscall    Close
  971. 00000AA8  3D40 000A                move.w     [A6 + 0xA], D0
  972. 00000AAC  4E5E                     unlink     A6
  973. 00000AAE  205F                     movea.l    A0, [A7]+
  974. 00000AB0  548F                     addq.l     A7, 2
  975. 00000AB2  4ED0                     jmp        [A0]
  976. export_118:
  977. 00000AB4  51C1                     sf         D1
  978. 00000AB6  6002                     bra        +0x4 /* 00000ABA */
  979. export_119:
  980. 00000AB8  50C1                     st         D1
  981. label00000ABA:
  982. 00000ABA  4E56 FFCE                link       A6, -0x0032
  983. 00000ABE  204F                     movea.l    A0, A7
  984. 00000AC0  216E 0008 0020           move.l     [A0 + 0x20], [A6 + 0x8]
  985. 00000AC6  316E 0010 0018           move.w     [A0 + 0x18], [A6 + 0x10]
  986. 00000ACC  226E 000C                movea.l    A1, [A6 + 0xC]
  987. 00000AD0  2151 0024                move.l     [A0 + 0x24], [A1]
  988. 00000AD4  4268 002C                clr.w      [A0 + 0x2C]
  989. 00000AD8  42A8 002E                clr.l      [A0 + 0x2E]
  990. 00000ADC  4A01                     tst.b      D1
  991. 00000ADE  6604                     bne        +0x6 /* 00000AE4 */
  992. 00000AE0  A002                     syscall    Read
  993. 00000AE2  6002                     bra        +0x4 /* 00000AE6 */
  994. label00000AE4:
  995. 00000AE4  A003                     syscall    Write
  996. label00000AE6:
  997. 00000AE6  3D40 0012                move.w     [A6 + 0x12], D0
  998. 00000AEA  226E 000C                movea.l    A1, [A6 + 0xC]
  999. 00000AEE  22A8 0028                move.l     [A1], [A0 + 0x28]
  1000. 00000AF2  4E5E                     unlink     A6
  1001. 00000AF4  225F                     movea.l    A1, [A7]+
  1002. 00000AF6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1003. 00000AFA  4ED1                     jmp        [A1]
  1004. export_120:
  1005. 00000AFC  4E56 FFC0                link       A6, -0x0040
  1006. 00000B00  204F                     movea.l    A0, A7
  1007. 00000B02  216E 000C 0012           move.l     [A0 + 0x12], [A6 + 0xC]
  1008. 00000B08  A014                     syscall    GetVol/PBHGetVol/HGetVol
  1009. 00000B0A  3D40 0010                move.w     [A6 + 0x10], D0
  1010. 00000B0E  226E 0008                movea.l    A1, [A6 + 0x8]
  1011. 00000B12  32A8 0016                move.w     [A1], [A0 + 0x16]
  1012. 00000B16  4E5E                     unlink     A6
  1013. 00000B18  225F                     movea.l    A1, [A7]+
  1014. 00000B1A  508F                     addq.l     A7, 8
  1015. 00000B1C  4ED1                     jmp        [A1]
  1016. fn00000B1E:
  1017. 00000B1E  4E56 FFC0                link       A6, -0x0040
  1018. 00000B22  204F                     movea.l    A0, A7
  1019. 00000B24  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  1020. 00000B2A  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  1021. 00000B30  A015                     syscall    SetVol/PBHSetVol/HSetVol
  1022. 00000B32  3D40 000E                move.w     [A6 + 0xE], D0
  1023. 00000B36  4E5E                     unlink     A6
  1024. 00000B38  225F                     movea.l    A1, [A7]+
  1025. 00000B3A  5C8F                     addq.l     A7, 6
  1026. 00000B3C  4ED1                     jmp        [A1]
  1027. export_121:
  1028. 00000B3E  4E56 FFC0                link       A6, -0x0040
  1029. 00000B42  204F                     movea.l    A0, A7
  1030. 00000B44  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  1031. 00000B4A  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  1032. 00000B50  A00E                     syscall    UnmountVol/HUnmountVol
  1033. 00000B52  3D40 000E                move.w     [A6 + 0xE], D0
  1034. 00000B56  4E5E                     unlink     A6
  1035. 00000B58  225F                     movea.l    A1, [A7]+
  1036. 00000B5A  5C8F                     addq.l     A7, 6
  1037. 00000B5C  4ED1                     jmp        [A1]
  1038. export_122:
  1039. 00000B5E  4E56 FFC0                link       A6, -0x0040
  1040. 00000B62  204F                     movea.l    A0, A7
  1041. 00000B64  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  1042. 00000B6A  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  1043. 00000B70  A017                     syscall    Eject
  1044. 00000B72  3D40 000E                move.w     [A6 + 0xE], D0
  1045. 00000B76  4E5E                     unlink     A6
  1046. 00000B78  225F                     movea.l    A1, [A7]+
  1047. 00000B7A  5C8F                     addq.l     A7, 6
  1048. 00000B7C  4ED1                     jmp        [A1]
  1049. export_123:
  1050. 00000B7E  4E56 FFC0                link       A6, -0x0040
  1051. 00000B82  204F                     movea.l    A0, A7
  1052. 00000B84  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  1053. 00000B8A  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  1054. 00000B90  A013                     syscall    FlushVol
  1055. 00000B92  3D40 000E                move.w     [A6 + 0xE], D0
  1056. 00000B96  4E5E                     unlink     A6
  1057. 00000B98  225F                     movea.l    A1, [A7]+
  1058. 00000B9A  5C8F                     addq.l     A7, 6
  1059. 00000B9C  4ED1                     jmp        [A1]
  1060. export_124:
  1061. 00000B9E  4E56 FFCE                link       A6, -0x0032
  1062. 00000BA2  204F                     movea.l    A0, A7
  1063. 00000BA4  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  1064. 00000BAA  A011                     syscall    GetEOF
  1065. 00000BAC  3D40 000E                move.w     [A6 + 0xE], D0
  1066. 00000BB0  226E 0008                movea.l    A1, [A6 + 0x8]
  1067. 00000BB4  22A8 001C                move.l     [A1], [A0 + 0x1C]
  1068. 00000BB8  4E5E                     unlink     A6
  1069. 00000BBA  225F                     movea.l    A1, [A7]+
  1070. 00000BBC  5C8F                     addq.l     A7, 6
  1071. 00000BBE  4ED1                     jmp        [A1]
  1072. export_125:
  1073. 00000BC0  4E56 FFCE                link       A6, -0x0032
  1074. 00000BC4  204F                     movea.l    A0, A7
  1075. 00000BC6  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  1076. 00000BCC  216E 0008 001C           move.l     [A0 + 0x1C], [A6 + 0x8]
  1077. 00000BD2  A012                     syscall    SetEOF
  1078. 00000BD4  3D40 000E                move.w     [A6 + 0xE], D0
  1079. 00000BD8  4E5E                     unlink     A6
  1080. 00000BDA  225F                     movea.l    A1, [A7]+
  1081. 00000BDC  5C8F                     addq.l     A7, 6
  1082. 00000BDE  4ED1                     jmp        [A1]
  1083. export_126:
  1084. 00000BE0  4E56 FFCE                link       A6, -0x0032
  1085. 00000BE4  204F                     movea.l    A0, A7
  1086. 00000BE6  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  1087. 00000BEC  A018                     syscall    GetFPos
  1088. 00000BEE  3D40 000E                move.w     [A6 + 0xE], D0
  1089. 00000BF2  226E 0008                movea.l    A1, [A6 + 0x8]
  1090. 00000BF6  22A8 002E                move.l     [A1], [A0 + 0x2E]
  1091. 00000BFA  4E5E                     unlink     A6
  1092. 00000BFC  225F                     movea.l    A1, [A7]+
  1093. 00000BFE  5C8F                     addq.l     A7, 6
  1094. 00000C00  4ED1                     jmp        [A1]
  1095. export_127:
  1096. 00000C02  4E56 FFCE                link       A6, -0x0032
  1097. 00000C06  204F                     movea.l    A0, A7
  1098. 00000C08  316E 000E 0018           move.w     [A0 + 0x18], [A6 + 0xE]
  1099. 00000C0E  316E 000C 002C           move.w     [A0 + 0x2C], [A6 + 0xC]
  1100. 00000C14  216E 0008 002E           move.l     [A0 + 0x2E], [A6 + 0x8]
  1101. 00000C1A  A044                     syscall    SetFPos
  1102. 00000C1C  3D40 0010                move.w     [A6 + 0x10], D0
  1103. 00000C20  4E5E                     unlink     A6
  1104. 00000C22  225F                     movea.l    A1, [A7]+
  1105. 00000C24  508F                     addq.l     A7, 8
  1106. 00000C26  4ED1                     jmp        [A1]
  1107. fn00000C28:
  1108. 00000C28  225F                     movea.l    A1, [A7]+
  1109. 00000C2A  101F                     move.b     D0, [A7]+
  1110. 00000C2C  205F                     movea.l    A0, [A7]+
  1111. 00000C2E  6604                     bne        +0x6 /* 00000C34 */
  1112. 00000C30  A215                     syscall    SetVol/PBHSetVol/HSetVol, flags=2
  1113. 00000C32  6002                     bra        +0x4 /* 00000C36 */
  1114. label00000C34:
  1115. 00000C34  A615                     syscall    SetVol/PBHSetVol/HSetVol, flags=6
  1116. label00000C36:
  1117. 00000C36  3E80                     move.w     [A7], D0
  1118. 00000C38  4ED1                     jmp        [A1]
  1119. fn00000C3A:
  1120. 00000C3A  225F                     movea.l    A1, [A7]+
  1121. 00000C3C  101F                     move.b     D0, [A7]+
  1122. 00000C3E  205F                     movea.l    A0, [A7]+
  1123. 00000C40  6604                     bne        +0x6 /* 00000C46 */
  1124. 00000C42  A214                     syscall    GetVol/PBHGetVol/HGetVol, flags=2
  1125. 00000C44  6002                     bra        +0x4 /* 00000C48 */
  1126. label00000C46:
  1127. 00000C46  A614                     syscall    GetVol/PBHGetVol/HGetVol, flags=6
  1128. label00000C48:
  1129. 00000C48  3E80                     move.w     [A7], D0
  1130. 00000C4A  4ED1                     jmp        [A1]
  1131. fn00000C4C:
  1132. 00000C4C  225F                     movea.l    A1, [A7]+
  1133. 00000C4E  101F                     move.b     D0, [A7]+
  1134. 00000C50  205F                     movea.l    A0, [A7]+
  1135. 00000C52  6606                     bne        +0x8 /* 00000C5A */
  1136. 00000C54  7007                     moveq.l    D0, 0x07
  1137. 00000C56  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  1138. 00000C58  6004                     bra        +0x6 /* 00000C5E */
  1139. label00000C5A:
  1140. 00000C5A  7007                     moveq.l    D0, 0x07
  1141. 00000C5C  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  1142. label00000C5E:
  1143. 00000C5E  3E80                     move.w     [A7], D0
  1144. 00000C60  4ED1                     jmp        [A1]
  1145. fn00000C62:
  1146. 00000C62  225F                     movea.l    A1, [A7]+
  1147. 00000C64  101F                     move.b     D0, [A7]+
  1148. 00000C66  205F                     movea.l    A0, [A7]+
  1149. 00000C68  6604                     bne        +0x6 /* 00000C6E */
  1150. 00000C6A  A200                     syscall    OpenSlot, flags=2
  1151. 00000C6C  6002                     bra        +0x4 /* 00000C70 */
  1152. label00000C6E:
  1153. 00000C6E  A600                     syscall    Open/PBHOpen/HOpen, flags=6
  1154. label00000C70:
  1155. 00000C70  3E80                     move.w     [A7], D0
  1156. 00000C72  4ED1                     jmp        [A1]
  1157. fn00000C74:
  1158. 00000C74  225F                     movea.l    A1, [A7]+
  1159. 00000C76  101F                     move.b     D0, [A7]+
  1160. 00000C78  205F                     movea.l    A0, [A7]+
  1161. 00000C7A  6604                     bne        +0x6 /* 00000C80 */
  1162. 00000C7C  A20A                     syscall    OpenRF/PBHOpenRF/HOpenRF, flags=2
  1163. 00000C7E  6002                     bra        +0x4 /* 00000C82 */
  1164. label00000C80:
  1165. 00000C80  A60A                     syscall    OpenRF/PBHOpenRF/HOpenRF, flags=6
  1166. label00000C82:
  1167. 00000C82  3E80                     move.w     [A7], D0
  1168. 00000C84  4ED1                     jmp        [A1]
  1169. fn00000C86:
  1170. 00000C86  225F                     movea.l    A1, [A7]+
  1171. 00000C88  101F                     move.b     D0, [A7]+
  1172. 00000C8A  205F                     movea.l    A0, [A7]+
  1173. 00000C8C  6604                     bne        +0x6 /* 00000C92 */
  1174. 00000C8E  A208                     syscall    Create/PBHCreate/HCreate, flags=2
  1175. 00000C90  6002                     bra        +0x4 /* 00000C94 */
  1176. label00000C92:
  1177. 00000C92  A608                     syscall    Create/PBHCreate/HCreate, flags=6
  1178. label00000C94:
  1179. 00000C94  3E80                     move.w     [A7], D0
  1180. 00000C96  4ED1                     jmp        [A1]
  1181. fn00000C98:
  1182. 00000C98  225F                     movea.l    A1, [A7]+
  1183. 00000C9A  101F                     move.b     D0, [A7]+
  1184. 00000C9C  205F                     movea.l    A0, [A7]+
  1185. 00000C9E  6604                     bne        +0x6 /* 00000CA4 */
  1186. 00000CA0  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  1187. 00000CA2  6002                     bra        +0x4 /* 00000CA6 */
  1188. label00000CA4:
  1189. 00000CA4  A60C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=6
  1190. label00000CA6:
  1191. 00000CA6  3E80                     move.w     [A7], D0
  1192. 00000CA8  4ED1                     jmp        [A1]
  1193. fn00000CAA:
  1194. 00000CAA  225F                     movea.l    A1, [A7]+
  1195. 00000CAC  101F                     move.b     D0, [A7]+
  1196. 00000CAE  205F                     movea.l    A0, [A7]+
  1197. 00000CB0  6604                     bne        +0x6 /* 00000CB6 */
  1198. 00000CB2  A20D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
  1199. 00000CB4  6002                     bra        +0x4 /* 00000CB8 */
  1200. label00000CB6:
  1201. 00000CB6  A60D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=6
  1202. label00000CB8:
  1203. 00000CB8  3E80                     move.w     [A7], D0
  1204. 00000CBA  4ED1                     jmp        [A1]
  1205. export_128:
  1206. 00000CBC  7402                     moveq.l    D2, 0x02
  1207. label00000CBE:
  1208. 00000CBE  205F                     movea.l    A0, [A7]+
  1209. 00000CC0  3F02                     move.w     -[A7], D2
  1210. 00000CC2  2F08                     move.l     -[A7], A0
  1211. 00000CC4  ADE9                     syscall    Pack2, auto_pop
  1212. export_129:
  1213. 00000CC6  7400                     moveq.l    D2, 0x00
  1214. 00000CC8  4EFA FFF4                jmp        [PC - 0xC /* 00000CBE */]
  1215. export_130:
  1216. 00000CCC  206F 0008                movea.l    A0, [A7 + 0x8]
  1217. 00000CD0  3F3C 0001                move.w     -[A7], 0x1
  1218. 00000CD4  A9EE                     syscall    Pack7/DecStr68K
  1219. 00000CD6  206F 0004                movea.l    A0, [A7 + 0x4]
  1220. 00000CDA  2080                     move.l     [A0], D0
  1221. 00000CDC  4EFA 000E                jmp        [PC + 0xE /* 00000CEC */]
  1222. export_131:
  1223. 00000CE0  206F 0004                movea.l    A0, [A7 + 0x4]
  1224. 00000CE4  202F 0008                move.l     D0, [A7 + 0x8]
  1225. 00000CE8  4267                     clr.w      -[A7]
  1226. 00000CEA  A9EE                     syscall    Pack7/DecStr68K
  1227. label00000CEC:
  1228. 00000CEC  205F                     movea.l    A0, [A7]+
  1229. 00000CEE  504F                     addq.w     A7, 8
  1230. 00000CF0  4ED0                     jmp        [A0]
  1231. export_132:
  1232. 00000CF2  225F                     movea.l    A1, [A7]+
  1233. 00000CF4  201F                     move.l     D0, [A7]+
  1234. 00000CF6  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  1235. 00000CFC  6606                     bne        +0x8 /* 00000D04 */
  1236. 00000CFE  A055                     syscall    StripAddress
  1237. 00000D00  2E80                     move.l     [A7], D0
  1238. 00000D02  4ED1                     jmp        [A1]
  1239. label00000D04:
  1240. 00000D04  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  1241. 00000D08  2E80                     move.l     [A7], D0
  1242. 00000D0A  4ED1                     jmp        [A1]
  1243. export_133:
  1244. 00000D0C  206F 0004                movea.l    A0, [A7 + 0x4]
  1245. 00000D10  2050                     movea.l    A0, [A0]
  1246. 00000D12  A9E1                     syscall    HandToHand
  1247. 00000D14  226F 0004                movea.l    A1, [A7 + 0x4]
  1248. 00000D18  2288                     move.l     [A1], A0
  1249. 00000D1A  3F40 0008                move.w     [A7 + 0x8], D0
  1250. 00000D1E  2E9F                     move.l     [A7], [A7]+
  1251. 00000D20  4E75                     rts
  1252. export_134:
  1253. 00000D22  206F 000C                movea.l    A0, [A7 + 0xC]
  1254. 00000D26  202F 0004                move.l     D0, [A7 + 0x4]
  1255. 00000D2A  A9E3                     syscall    PtrToHand
  1256. 00000D2C  3F40 0010                move.w     [A7 + 0x10], D0
  1257. 00000D30  226F 0008                movea.l    A1, [A7 + 0x8]
  1258. 00000D34  2288                     move.l     [A1], A0
  1259. 00000D36  205F                     movea.l    A0, [A7]+
  1260. 00000D38  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1261. 00000D3C  4ED0                     jmp        [A0]
  1262. export_135:
  1263. 00000D3E  4E56 0000                link       A6, 0
  1264. 00000D42  594F                     subq.w     A7, 4
  1265. 00000D44  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  1266. 00000D4A  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  1267. 00000D4E  A9A0                     syscall    GetResource
  1268. 00000D50  226E 000C                movea.l    A1, [A6 + 0xC]
  1269. 00000D54  4211                     clr.b      [A1]
  1270. 00000D56  201F                     move.l     D0, [A7]+
  1271. 00000D58  6722                     beq        +0x24 /* 00000D7C */
  1272. 00000D5A  2040                     movea.l    A0, D0
  1273. 00000D5C  2050                     movea.l    A0, [A0]
  1274. 00000D5E  3018                     move.w     D0, [A0]+
  1275. 00000D60  322E 0008                move.w     D1, [A6 + 0x8]
  1276. 00000D64  6716                     beq        +0x18 /* 00000D7C */
  1277. 00000D66  B240                     cmp.w      D1, D0
  1278. 00000D68  6212                     bhi        +0x14 /* 00000D7C */
  1279. 00000D6A  7000                     moveq.l    D0, 0x00
  1280. label00000D6C:
  1281. 00000D6C  5341                     subq.w     D1, 1
  1282. 00000D6E  6706                     beq        +0x8 /* 00000D76 */
  1283. 00000D70  1018                     move.b     D0, [A0]+
  1284. 00000D72  D1C0                     add.l      A0, D0
  1285. 00000D74  60F6                     bra        -0x8 /* 00000D6C */
  1286. label00000D76:
  1287. 00000D76  1010                     move.b     D0, [A0]
  1288. 00000D78  5240                     addq.w     D0, 1
  1289. 00000D7A  A02E                     syscall    BlockMove/BlockMoveData
  1290. label00000D7C:
  1291. 00000D7C  4E5E                     unlink     A6
  1292. 00000D7E  205F                     movea.l    A0, [A7]+
  1293. 00000D80  508F                     addq.l     A7, 8
  1294. 00000D82  4ED0                     jmp        [A0]
  1295. export_137:
  1296. 00000D84  4E56 FF7C                link       A6, -0x0084
  1297. 00000D88  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  1298. 00000D8C  266E 0008                movea.l    A3, [A6 + 0x8]
  1299. 00000D90  286E 000C                movea.l    A4, [A6 + 0xC]
  1300. 00000D94  3A2E 0016                move.w     D5, [A6 + 0x16]
  1301. 00000D98  2C2E 0012                move.l     D6, [A6 + 0x12]
  1302. 00000D9C  4204                     clr.b      D4
  1303. 00000D9E  558F                     subq.l     A7, 2
  1304. 00000DA0  2F3C 666F 6C64           move.l     -[A7], 0x666F6C64 /* 'fold' */
  1305. 00000DA6  486E FF7C                pea.l      [A6 - 0x84]
  1306. 00000DAA  4EBA FA30                jsr        [PC - 0x5D0 /* 000007DC */]
  1307. 00000DAE  3E1F                     move.w     D7, [A7]+
  1308. 00000DB0  660C                     bne        +0xE /* 00000DBE */
  1309. 00000DB2  202E FF7C                move.l     D0, [A6 - 0x84]
  1310. 00000DB6  0800 0000                btst.b     D0, 0x0
  1311. 00000DBA  6702                     beq        +0x4 /* 00000DBE */
  1312. 00000DBC  7801                     moveq.l    D4, 0x01
  1313. label00000DBE:
  1314. 00000DBE  4A04                     tst.b      D4
  1315. 00000DC0  671A                     beq        +0x1C /* 00000DDC */
  1316. 00000DC2  558F                     subq.l     A7, 2
  1317. 00000DC4  3F05                     move.w     -[A7], D5
  1318. 00000DC6  2F06                     move.l     -[A7], D6
  1319. 00000DC8  1F2E 0010                move.b     -[A7], [A6 + 0x10]
  1320. 00000DCC  2F0C                     move.l     -[A7], A4
  1321. 00000DCE  2F0B                     move.l     -[A7], A3
  1322. 00000DD0  7000                     moveq.l    D0, 0x00
  1323. 00000DD2  A823                     syscall    AliasDispatch
  1324. 00000DD4  3D5F 0018                move.w     [A6 + 0x18], [A7]+
  1325. 00000DD8  6000 00EA                bra        +0xEC /* 00000EC4 */
  1326. label00000DDC:
  1327. 00000DDC  0C86 6D61 6373           cmpi.l     D6, 0x6D616373 /* 'macs' */
  1328. 00000DE2  6742                     beq        +0x44 /* 00000E26 */
  1329. 00000DE4  0C86 7465 6D70           cmpi.l     D6, 0x74656D70 /* 'temp' */
  1330. 00000DEA  673A                     beq        +0x3C /* 00000E26 */
  1331. 00000DEC  0C86 7072 6566           cmpi.l     D6, 0x70726566 /* 'pref' */
  1332. 00000DF2  6732                     beq        +0x34 /* 00000E26 */
  1333. 00000DF4  0C86 6578 746E           cmpi.l     D6, 0x6578746E /* 'extn' */
  1334. 00000DFA  672A                     beq        +0x2C /* 00000E26 */
  1335. 00000DFC  0C86 6374 726C           cmpi.l     D6, 0x6374726C /* 'ctrl' */
  1336. 00000E02  6722                     beq        +0x24 /* 00000E26 */
  1337. 00000E04  0C86 616D 6E75           cmpi.l     D6, 0x616D6E75 /* 'amnu' */
  1338. 00000E0A  671A                     beq        +0x1C /* 00000E26 */
  1339. 00000E0C  0C86 7374 7274           cmpi.l     D6, 0x73747274 /* 'strt' */
  1340. 00000E12  6712                     beq        +0x14 /* 00000E26 */
  1341. 00000E14  0C86 7072 6E74           cmpi.l     D6, 0x70726E74 /* 'prnt' */
  1342. 00000E1A  670A                     beq        +0xC /* 00000E26 */
  1343. 00000E1C  3D7C FFCE 0018           move.w     [A6 + 0x18], 0xFFCE
  1344. 00000E22  6000 00A0                bra        +0xA2 /* 00000EC4 */
  1345. label00000E26:
  1346. 00000E26  7000                     moveq.l    D0, 0x00
  1347. 00000E28  2D40 FF92                move.l     [A6 - 0x6E], D0
  1348. 00000E2C  0C45 8000                cmpi.w     D5, 0x8000
  1349. 00000E30  6626                     bne        +0x28 /* 00000E58 */
  1350. 00000E32  3D78 0A58 FF98           move.w     [A6 - 0x68], [0x00000A58 /* SysMap */]
  1351. 00000E38  426E FF9C                clr.w      [A6 - 0x64]
  1352. 00000E3C  7002                     moveq.l    D0, 0x02
  1353. 00000E3E  2D40 FFBA                move.l     [A6 - 0x46], D0
  1354. 00000E42  43EE FF80                lea.l      A1, [A6 - 0x80]
  1355. 00000E46  2049                     movea.l    A0, A1
  1356. 00000E48  7008                     moveq.l    D0, 0x08
  1357. 00000E4A  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  1358. 00000E4C  3E00                     move.w     D7, D0
  1359. 00000E4E  6670                     bne        +0x72 /* 00000EC0 */
  1360. 00000E50  3D6E FFB4 FF96           move.w     [A6 - 0x6A], [A6 - 0x4C]
  1361. 00000E56  6004                     bra        +0x6 /* 00000E5C */
  1362. label00000E58:
  1363. 00000E58  3D45 FF96                move.w     [A6 - 0x6A], D5
  1364. label00000E5C:
  1365. 00000E5C  7006                     moveq.l    D0, 0x06
  1366. 00000E5E  2D40 FFA4                move.l     [A6 - 0x5C], D0
  1367. 00000E62  41EE FFFA                lea.l      A0, [A6 - 0x6]
  1368. 00000E66  2D48 FFA0                move.l     [A6 - 0x60], A0
  1369. 00000E6A  43EE FF80                lea.l      A1, [A6 - 0x80]
  1370. 00000E6E  2049                     movea.l    A0, A1
  1371. 00000E70  7030                     moveq.l    D0, 0x30
  1372. 00000E72  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  1373. 00000E74  3E00                     move.w     D7, D0
  1374. 00000E76  0C47 FFCE                cmpi.w     D7, 0xFFCE
  1375. 00000E7A  6710                     beq        +0x12 /* 00000E8C */
  1376. 00000E7C  4A47                     tst.w      D7
  1377. 00000E7E  663A                     bne        +0x3C /* 00000EBA */
  1378. 00000E80  203C 0002 0000           move.l     D0, 0x20000
  1379. 00000E86  C0AE FFFC                and.l      D0, [A6 - 0x4]
  1380. 00000E8A  662E                     bne        +0x30 /* 00000EBA */
  1381. label00000E8C:
  1382. 00000E8C  426E FF9C                clr.w      [A6 - 0x64]
  1383. 00000E90  7000                     moveq.l    D0, 0x00
  1384. 00000E92  2D40 FFDA                move.l     [A6 - 0x26], D0
  1385. 00000E96  2D40 FFB0                move.l     [A6 - 0x50], D0
  1386. 00000E9A  43EE FF80                lea.l      A1, [A6 - 0x80]
  1387. 00000E9E  2049                     movea.l    A0, A1
  1388. 00000EA0  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  1389. 00000EA2  3E00                     move.w     D7, D0
  1390. 00000EA4  661A                     bne        +0x1C /* 00000EC0 */
  1391. 00000EA6  4AAE FFDA                tst.l      [A6 - 0x26]
  1392. 00000EAA  670A                     beq        +0xC /* 00000EB6 */
  1393. 00000EAC  38AE FF96                move.w     [A4], [A6 - 0x6A]
  1394. 00000EB0  26AE FFDA                move.l     [A3], [A6 - 0x26]
  1395. 00000EB4  600A                     bra        +0xC /* 00000EC0 */
  1396. label00000EB6:
  1397. 00000EB6  7ED5                     moveq.l    D7, 0xFFFFFFD5
  1398. 00000EB8  6006                     bra        +0x8 /* 00000EC0 */
  1399. label00000EBA:
  1400. 00000EBA  4A47                     tst.w      D7
  1401. 00000EBC  6602                     bne        +0x4 /* 00000EC0 */
  1402. 00000EBE  7ED5                     moveq.l    D7, 0xFFFFFFD5
  1403. label00000EC0:
  1404. 00000EC0  3D47 0018                move.w     [A6 + 0x18], D7
  1405. label00000EC4:
  1406. 00000EC4  4CEE 18F0 FF64           movem.l    D4,D5,D6,D7,A3,A4, [A6 - 0x9C]
  1407. 00000ECA  4E5E                     unlink     A6
  1408. 00000ECC  205F                     movea.l    A0, [A7]+
  1409. 00000ECE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1410. 00000ED2  4ED0                     jmp        [A0]
  1411. 00000ED4  8A46                     or.w       D5, D6
  1412. 00000ED6  494E                     chk.w      D4, A6
  1413. 00000ED8  4446                     neg.w      D6
  1414. 00000EDA  4F4C                     chk.w      D7, A4
  1415. 00000EDC  4445                     neg.w      D5
  1416. 00000EDE  5200                     addq.b     D0, 1
  1417. 00000EE0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1418. // begin alternate branch 00000EE2-00000EE6
  1419. export_138:
  1420. fn00000EE2:
  1421. 00000EE2  4E56 FFCC                link       A6, -0x0034
  1422. // end alternate branch 00000EE2-00000EE6
  1423. export_138: // at 00000EE2 (misaligned)
  1424. fn00000EE2: // (misaligned)
  1425. 00000EE4  FFCC                     .invalid   <<F/7/7>>
  1426. 00000EE6  2F07                     move.l     -[A7], D7
  1427. 00000EE8  2D6E 0010 FFDE           move.l     [A6 - 0x22], [A6 + 0x10]
  1428. 00000EEE  558F                     subq.l     A7, 2
  1429. 00000EF0  486E FFCC                pea.l      [A6 - 0x34]
  1430. 00000EF4  7000                     moveq.l    D0, 0x00
  1431. 00000EF6  1F00                     move.b     -[A7], D0
  1432. 00000EF8  4EBA FD40                jsr        [PC - 0x2C0 /* 00000C3A */]
  1433. 00000EFC  3E1F                     move.w     D7, [A7]+
  1434. 00000EFE  206E 000C                movea.l    A0, [A6 + 0xC]
  1435. 00000F02  30AE FFE2                move.w     [A0], [A6 - 0x1E]
  1436. 00000F06  206E 0008                movea.l    A0, [A6 + 0x8]
  1437. 00000F0A  20AE FFFC                move.l     [A0], [A6 - 0x4]
  1438. 00000F0E  3D47 0014                move.w     [A6 + 0x14], D7
  1439. 00000F12  2E2E FFC8                move.l     D7, [A6 - 0x38]
  1440. 00000F16  4E5E                     unlink     A6
  1441. 00000F18  205F                     movea.l    A0, [A7]+
  1442. 00000F1A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1443. 00000F1E  4ED0                     jmp        [A0]
  1444. 00000F20  8748 4745                pack       -[A3], -[A0], 0x4745
  1445. 00000F24  5456                     addq.w     [A6], 2
  1446. 00000F26  4F4C                     chk.w      D7, A4
  1447. 00000F28  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1448. // begin alternate branch 00000F2A-00000F2E
  1449. fn00000F2A:
  1450. 00000F2A  4E56 FFCC                link       A6, -0x0034
  1451. // end alternate branch 00000F2A-00000F2E
  1452. fn00000F2A: // (misaligned)
  1453. 00000F2C  FFCC                     .invalid   <<F/7/7>>
  1454. 00000F2E  2D6E 000E FFDE           move.l     [A6 - 0x22], [A6 + 0xE]
  1455. 00000F34  3D6E 000C FFE2           move.w     [A6 - 0x1E], [A6 + 0xC]
  1456. 00000F3A  2D6E 0008 FFFC           move.l     [A6 - 0x4], [A6 + 0x8]
  1457. 00000F40  558F                     subq.l     A7, 2
  1458. 00000F42  486E FFCC                pea.l      [A6 - 0x34]
  1459. 00000F46  7000                     moveq.l    D0, 0x00
  1460. 00000F48  1F00                     move.b     -[A7], D0
  1461. 00000F4A  4EBA FCDC                jsr        [PC - 0x324 /* 00000C28 */]
  1462. 00000F4E  3D5F 0012                move.w     [A6 + 0x12], [A7]+
  1463. 00000F52  4E5E                     unlink     A6
  1464. 00000F54  205F                     movea.l    A0, [A7]+
  1465. 00000F56  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1466. 00000F5A  4ED0                     jmp        [A0]
  1467. 00000F5C  8748 5345                pack       -[A3], -[A0], 0x5345
  1468. 00000F60  5456                     addq.w     [A6], 2
  1469. 00000F62  4F4C                     chk.w      D7, A4
  1470. 00000F64  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1471. export_139: // at 00000F66 (misaligned)
  1472. 00000F68  FF86                     .invalid   <<F/6/7>>
  1473. 00000F6A  2F07                     move.l     -[A7], D7
  1474. 00000F6C  3D6E 0016 FF9C           move.w     [A6 - 0x64], [A6 + 0x16]
  1475. 00000F72  2D6E 0012 FFB6           move.l     [A6 - 0x4A], [A6 + 0x12]
  1476. 00000F78  2D6E 000E FF98           move.l     [A6 - 0x68], [A6 + 0xE]
  1477. 00000F7E  422E FFA0                clr.b      [A6 - 0x60]
  1478. 00000F82  1D6E 000C FFA1           move.b     [A6 - 0x5F], [A6 + 0xC]
  1479. 00000F88  7000                     moveq.l    D0, 0x00
  1480. 00000F8A  2D40 FFA2                move.l     [A6 - 0x5E], D0
  1481. 00000F8E  558F                     subq.l     A7, 2
  1482. 00000F90  486E FF86                pea.l      [A6 - 0x7A]
  1483. 00000F94  7000                     moveq.l    D0, 0x00
  1484. 00000F96  1F00                     move.b     -[A7], D0
  1485. 00000F98  4EBA FCC8                jsr        [PC - 0x338 /* 00000C62 */]
  1486. 00000F9C  3E1F                     move.w     D7, [A7]+
  1487. 00000F9E  206E 0008                movea.l    A0, [A6 + 0x8]
  1488. 00000FA2  30AE FF9E                move.w     [A0], [A6 - 0x62]
  1489. 00000FA6  3D47 0018                move.w     [A6 + 0x18], D7
  1490. 00000FAA  2E2E FF82                move.l     D7, [A6 - 0x7E]
  1491. 00000FAE  4E5E                     unlink     A6
  1492. 00000FB0  205F                     movea.l    A0, [A7]+
  1493. 00000FB2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1494. 00000FB6  4ED0                     jmp        [A0]
  1495. 00000FB8  8548 4F50                pack       -[A2], -[A0], 0x4F50
  1496. 00000FBC  454E                     chk.w      D2, A6
  1497. 00000FBE  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1498. // begin alternate branch 00000FC0-00000FC4
  1499. fn00000FC0:
  1500. 00000FC0  4E56 FF86                link       A6, -0x007A
  1501. // end alternate branch 00000FC0-00000FC4
  1502. fn00000FC0: // (misaligned)
  1503. 00000FC2  FF86                     .invalid   <<F/6/7>>
  1504. 00000FC4  2F07                     move.l     -[A7], D7
  1505. 00000FC6  3D6E 0016 FF9C           move.w     [A6 - 0x64], [A6 + 0x16]
  1506. 00000FCC  2D6E 0012 FFB6           move.l     [A6 - 0x4A], [A6 + 0x12]
  1507. 00000FD2  2D6E 000E FF98           move.l     [A6 - 0x68], [A6 + 0xE]
  1508. 00000FD8  422E FFA0                clr.b      [A6 - 0x60]
  1509. 00000FDC  1D6E 000C FFA1           move.b     [A6 - 0x5F], [A6 + 0xC]
  1510. 00000FE2  7000                     moveq.l    D0, 0x00
  1511. 00000FE4  2D40 FFA2                move.l     [A6 - 0x5E], D0
  1512. 00000FE8  558F                     subq.l     A7, 2
  1513. 00000FEA  486E FF86                pea.l      [A6 - 0x7A]
  1514. 00000FEE  7000                     moveq.l    D0, 0x00
  1515. 00000FF0  1F00                     move.b     -[A7], D0
  1516. 00000FF2  4EBA FC80                jsr        [PC - 0x380 /* 00000C74 */]
  1517. 00000FF6  3E1F                     move.w     D7, [A7]+
  1518. 00000FF8  206E 0008                movea.l    A0, [A6 + 0x8]
  1519. 00000FFC  30AE FF9E                move.w     [A0], [A6 - 0x62]
  1520. 00001000  3D47 0018                move.w     [A6 + 0x18], D7
  1521. 00001004  2E2E FF82                move.l     D7, [A6 - 0x7E]
  1522. 00001008  4E5E                     unlink     A6
  1523. 0000100A  205F                     movea.l    A0, [A7]+
  1524. 0000100C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1525. 00001010  4ED0                     jmp        [A0]
  1526. 00001012  8748 4F50                pack       -[A3], -[A0], 0x4F50
  1527. 00001016  454E                     chk.w      D2, A6
  1528. 00001018  5246                     addq.w     D6, 1
  1529. 0000101A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1530. export_140: // at 0000101C (misaligned)
  1531. 0000101E  FF86                     .invalid   <<F/6/7>>
  1532. 00001020  48E7 0300                movem.l    -[A7], D6,D7
  1533. 00001024  2C2E 0014                move.l     D6, [A6 + 0x14]
  1534. 00001028  3D6E 0018 FF9C           move.w     [A6 - 0x64], [A6 + 0x18]
  1535. 0000102E  2D46 FFB6                move.l     [A6 - 0x4A], D6
  1536. 00001032  2D6E 0010 FF98           move.l     [A6 - 0x68], [A6 + 0x10]
  1537. 00001038  422E FFA0                clr.b      [A6 - 0x60]
  1538. 0000103C  558F                     subq.l     A7, 2
  1539. 0000103E  486E FF86                pea.l      [A6 - 0x7A]
  1540. 00001042  7000                     moveq.l    D0, 0x00
  1541. 00001044  1F00                     move.b     -[A7], D0
  1542. 00001046  4EBA FC3E                jsr        [PC - 0x3C2 /* 00000C86 */]
  1543. 0000104A  3E1F                     move.w     D7, [A7]+
  1544. 0000104C  6636                     bne        +0x38 /* 00001084 */
  1545. 0000104E  426E FFA2                clr.w      [A6 - 0x5E]
  1546. 00001052  558F                     subq.l     A7, 2
  1547. 00001054  486E FF86                pea.l      [A6 - 0x7A]
  1548. 00001058  7000                     moveq.l    D0, 0x00
  1549. 0000105A  1F00                     move.b     -[A7], D0
  1550. 0000105C  4EBA FC3A                jsr        [PC - 0x3C6 /* 00000C98 */]
  1551. 00001060  3E1F                     move.w     D7, [A7]+
  1552. 00001062  6620                     bne        +0x22 /* 00001084 */
  1553. 00001064  2D6E 000C FFAA           move.l     [A6 - 0x56], [A6 + 0xC]
  1554. 0000106A  2D6E 0008 FFA6           move.l     [A6 - 0x5A], [A6 + 0x8]
  1555. 00001070  2D46 FFB6                move.l     [A6 - 0x4A], D6
  1556. 00001074  558F                     subq.l     A7, 2
  1557. 00001076  486E FF86                pea.l      [A6 - 0x7A]
  1558. 0000107A  7000                     moveq.l    D0, 0x00
  1559. 0000107C  1F00                     move.b     -[A7], D0
  1560. 0000107E  4EBA FC2A                jsr        [PC - 0x3D6 /* 00000CAA */]
  1561. 00001082  3E1F                     move.w     D7, [A7]+
  1562. label00001084:
  1563. 00001084  3D47 001A                move.w     [A6 + 0x1A], D7
  1564. 00001088  4CEE 00C0 FF7E           movem.l    D6,D7, [A6 - 0x82]
  1565. 0000108E  4E5E                     unlink     A6
  1566. 00001090  205F                     movea.l    A0, [A7]+
  1567. 00001092  4FEF 0012                lea.l      A7, [A7 + 0x12]
  1568. 00001096  4ED0                     jmp        [A0]
  1569. 00001098  8748 4352                pack       -[A3], -[A0], 0x4352
  1570. 0000109C  4541                     chk.w      D2, D1
  1571. 0000109E  5445                     addq.w     D5, 2
  1572. 000010A0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1573. export_141: // at 000010A2 (misaligned)
  1574. 000010A4  FF86                     .invalid   <<F/6/7>>
  1575. 000010A6  2F07                     move.l     -[A7], D7
  1576. 000010A8  3D6E 0014 FF9C           move.w     [A6 - 0x64], [A6 + 0x14]
  1577. 000010AE  2D6E 0010 FFB6           move.l     [A6 - 0x4A], [A6 + 0x10]
  1578. 000010B4  2D6E 000C FF98           move.l     [A6 - 0x68], [A6 + 0xC]
  1579. 000010BA  422E FFA0                clr.b      [A6 - 0x60]
  1580. 000010BE  426E FFA2                clr.w      [A6 - 0x5E]
  1581. 000010C2  558F                     subq.l     A7, 2
  1582. 000010C4  486E FF86                pea.l      [A6 - 0x7A]
  1583. 000010C8  7000                     moveq.l    D0, 0x00
  1584. 000010CA  1F00                     move.b     -[A7], D0
  1585. 000010CC  4EBA FBCA                jsr        [PC - 0x436 /* 00000C98 */]
  1586. 000010D0  3E1F                     move.w     D7, [A7]+
  1587. 000010D2  206E 0008                movea.l    A0, [A6 + 0x8]
  1588. 000010D6  43EE FFA6                lea.l      A1, [A6 - 0x5A]
  1589. 000010DA  20D9                     move.l     [A0]+, [A1]+
  1590. 000010DC  20D9                     move.l     [A0]+, [A1]+
  1591. 000010DE  20D9                     move.l     [A0]+, [A1]+
  1592. 000010E0  20D9                     move.l     [A0]+, [A1]+
  1593. 000010E2  3D47 0016                move.w     [A6 + 0x16], D7
  1594. 000010E6  2E2E FF82                move.l     D7, [A6 - 0x7E]
  1595. 000010EA  4E5E                     unlink     A6
  1596. 000010EC  205F                     movea.l    A0, [A7]+
  1597. 000010EE  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1598. 000010F2  4ED0                     jmp        [A0]
  1599. 000010F4  8948 4745                pack       -[A4], -[A0], 0x4745
  1600. 000010F8  5446                     addq.w     D6, 2
  1601. 000010FA  494E                     chk.w      D4, A6
  1602. 000010FC  464F                     not.w      A7
  1603. 000010FE  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1604. // begin alternate branch 00001100-00001104
  1605. export_142:
  1606. fn00001100:
  1607. 00001100  4E56 FFCC                link       A6, -0x0034
  1608. // end alternate branch 00001100-00001104
  1609. export_142: // at 00001100 (misaligned)
  1610. fn00001100: // (misaligned)
  1611. 00001102  FFCC                     .invalid   <<F/7/7>>
  1612. 00001104  2F07                     move.l     -[A7], D7
  1613. 00001106  3D6E 0014 FFE2           move.w     [A6 - 0x1E], [A6 + 0x14]
  1614. 0000110C  426E FFE6                clr.w      [A6 - 0x1A]
  1615. 00001110  7000                     moveq.l    D0, 0x00
  1616. 00001112  2D40 FFDE                move.l     [A6 - 0x22], D0
  1617. 00001116  558F                     subq.l     A7, 2
  1618. 00001118  486E FFCC                pea.l      [A6 - 0x34]
  1619. 0000111C  7000                     moveq.l    D0, 0x00
  1620. 0000111E  1F00                     move.b     -[A7], D0
  1621. 00001120  4EBA FB2A                jsr        [PC - 0x4D6 /* 00000C4C */]
  1622. 00001124  3E1F                     move.w     D7, [A7]+
  1623. 00001126  206E 0010                movea.l    A0, [A6 + 0x10]
  1624. 0000112A  30AE FFEC                move.w     [A0], [A6 - 0x14]
  1625. 0000112E  206E 000C                movea.l    A0, [A6 + 0xC]
  1626. 00001132  20AE FFFC                move.l     [A0], [A6 - 0x4]
  1627. 00001136  206E 0008                movea.l    A0, [A6 + 0x8]
  1628. 0000113A  20AE FFE8                move.l     [A0], [A6 - 0x18]
  1629. 0000113E  3D47 0016                move.w     [A6 + 0x16], D7
  1630. 00001142  2E2E FFC8                move.l     D7, [A6 - 0x38]
  1631. 00001146  4E5E                     unlink     A6
  1632. 00001148  205F                     movea.l    A0, [A7]+
  1633. 0000114A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1634. 0000114E  4ED0                     jmp        [A0]
  1635. 00001150  8947 4554                pack       D4, D7, 0x4554
  1636. 00001154  5744                     subq.w     D4, 3
  1637. 00001156  494E                     chk.w      D4, A6
  1638. 00001158  464F                     not.w      A7
  1639. 0000115A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1640. export_143: // at 0000115C (misaligned)
  1641. 0000115E  FFE8                     .invalid   <<F/7/7>>
  1642. 00001160  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  1643. 00001164  182E 0008                move.b     D4, [A6 + 0x8]
  1644. 00001168  286E 000A                movea.l    A4, [A6 + 0xA]
  1645. 0000116C  2A2E 000E                move.l     D5, [A6 + 0xE]
  1646. 00001170  3C2E 0012                move.w     D6, [A6 + 0x12]
  1647. 00001174  0C78 0600 015A           cmpi.w     [0x0000015A /* SysVersion */], 0x600
  1648. 0000117A  6D34                     blt        +0x36 /* 000011B0 */
  1649. 0000117C  303C A89F                move.w     D0, 0xA89F
  1650. 00001180  A146                     syscall    GetTrapAddress, flags=1
  1651. 00001182  2D48 FFE8                move.l     [A6 - 0x18], A0
  1652. 00001186  598F                     subq.l     A7, 4
  1653. 00001188  3F3C A81A                move.w     -[A7], 0xA81A
  1654. 0000118C  7001                     moveq.l    D0, 0x01
  1655. 0000118E  1F00                     move.b     -[A7], D0
  1656. 00001190  4EBA F874                jsr        [PC - 0x78C /* 00000A06 */]
  1657. 00001194  202E FFE8                move.l     D0, [A6 - 0x18]
  1658. 00001198  B09F                     cmp.l      D0, [A7]+
  1659. 0000119A  6714                     beq        +0x16 /* 000011B0 */
  1660. 0000119C  558F                     subq.l     A7, 2
  1661. 0000119E  3F06                     move.w     -[A7], D6
  1662. 000011A0  2F05                     move.l     -[A7], D5
  1663. 000011A2  2F0C                     move.l     -[A7], A4
  1664. 000011A4  1F04                     move.b     -[A7], D4
  1665. 000011A6  A81A                     syscall    HOpenResFile
  1666. 000011A8  3D5F 0014                move.w     [A6 + 0x14], [A7]+
  1667. 000011AC  6000 00D0                bra        +0xD2 /* 0000127E */
  1668. label000011B0:
  1669. 000011B0  3D7C FFFF FFEC           move.w     [A6 - 0x14], 0xFFFF
  1670. 000011B6  558F                     subq.l     A7, 2
  1671. 000011B8  3F06                     move.w     -[A7], D6
  1672. 000011BA  2F05                     move.l     -[A7], D5
  1673. 000011BC  2F0C                     move.l     -[A7], A4
  1674. 000011BE  1F04                     move.b     -[A7], D4
  1675. 000011C0  486E FFEE                pea.l      [A6 - 0x12]
  1676. 000011C4  4EBA FDFA                jsr        [PC - 0x206 /* 00000FC0 */]
  1677. 000011C8  3E1F                     move.w     D7, [A7]+
  1678. 000011CA  660C                     bne        +0xE /* 000011D8 */
  1679. 000011CC  558F                     subq.l     A7, 2
  1680. 000011CE  3F2E FFEE                move.w     -[A7], [A6 - 0x12]
  1681. 000011D2  4EBA F8C6                jsr        [PC - 0x73A /* 00000A9A */]
  1682. 000011D6  3E1F                     move.w     D7, [A7]+
  1683. label000011D8:
  1684. 000011D8  4A47                     tst.w      D7
  1685. 000011DA  6708                     beq        +0xA /* 000011E4 */
  1686. 000011DC  0C47 FFCF                cmpi.w     D7, 0xFFCF
  1687. 000011E0  6600 0092                bne        +0x94 /* 00001274 */
  1688. label000011E4:
  1689. 000011E4  558F                     subq.l     A7, 2
  1690. 000011E6  7000                     moveq.l    D0, 0x00
  1691. 000011E8  2F00                     move.l     -[A7], D0
  1692. 000011EA  486E FFF0                pea.l      [A6 - 0x10]
  1693. 000011EE  486E FFF2                pea.l      [A6 - 0xE]
  1694. 000011F2  4EBA FCEE                jsr        [PC - 0x312 /* 00000EE2 */]
  1695. 000011F6  3E1F                     move.w     D7, [A7]+
  1696. 000011F8  667A                     bne        +0x7C /* 00001274 */
  1697. 000011FA  558F                     subq.l     A7, 2
  1698. 000011FC  3F2E FFF0                move.w     -[A7], [A6 - 0x10]
  1699. 00001200  486E FFF6                pea.l      [A6 - 0xA]
  1700. 00001204  486E FFF8                pea.l      [A6 - 0x8]
  1701. 00001208  486E FFFC                pea.l      [A6 - 0x4]
  1702. 0000120C  4EBA FEF2                jsr        [PC - 0x10E /* 00001100 */]
  1703. 00001210  3E1F                     move.w     D7, [A7]+
  1704. 00001212  6660                     bne        +0x62 /* 00001274 */
  1705. 00001214  558F                     subq.l     A7, 2
  1706. 00001216  7000                     moveq.l    D0, 0x00
  1707. 00001218  2F00                     move.l     -[A7], D0
  1708. 0000121A  3F06                     move.w     -[A7], D6
  1709. 0000121C  2F05                     move.l     -[A7], D5
  1710. 0000121E  4EBA FD0A                jsr        [PC - 0x2F6 /* 00000F2A */]
  1711. 00001222  3E1F                     move.w     D7, [A7]+
  1712. 00001224  661A                     bne        +0x1C /* 00001240 */
  1713. 00001226  558F                     subq.l     A7, 2
  1714. 00001228  200C                     move.l     D0, A4
  1715. 0000122A  A055                     syscall    StripAddress
  1716. 0000122C  2F00                     move.l     -[A7], D0
  1717. 0000122E  7000                     moveq.l    D0, 0x00
  1718. 00001230  3F00                     move.w     -[A7], D0
  1719. 00001232  1F04                     move.b     -[A7], D4
  1720. 00001234  A9C4                     syscall    OpenRFPerm
  1721. 00001236  3D5F FFEC                move.w     [A6 - 0x14], [A7]+
  1722. 0000123A  558F                     subq.l     A7, 2
  1723. 0000123C  A9AF                     syscall    ResError
  1724. 0000123E  3E1F                     move.w     D7, [A7]+
  1725. label00001240:
  1726. 00001240  7002                     moveq.l    D0, 0x02
  1727. 00001242  B0AE FFF8                cmp.l      D0, [A6 - 0x8]
  1728. 00001246  6616                     bne        +0x18 /* 0000125E */
  1729. 00001248  558F                     subq.l     A7, 2
  1730. 0000124A  7000                     moveq.l    D0, 0x00
  1731. 0000124C  2F00                     move.l     -[A7], D0
  1732. 0000124E  3F2E FFF0                move.w     -[A7], [A6 - 0x10]
  1733. 00001252  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  1734. 00001256  4EBA FCD2                jsr        [PC - 0x32E /* 00000F2A */]
  1735. 0000125A  381F                     move.w     D4, [A7]+
  1736. 0000125C  6010                     bra        +0x12 /* 0000126E */
  1737. label0000125E:
  1738. 0000125E  558F                     subq.l     A7, 2
  1739. 00001260  7000                     moveq.l    D0, 0x00
  1740. 00001262  2F00                     move.l     -[A7], D0
  1741. 00001264  3F2E FFF0                move.w     -[A7], [A6 - 0x10]
  1742. 00001268  4EBA F8B4                jsr        [PC - 0x74C /* 00000B1E */]
  1743. 0000126C  381F                     move.w     D4, [A7]+
  1744. label0000126E:
  1745. 0000126E  4A47                     tst.w      D7
  1746. 00001270  6602                     bne        +0x4 /* 00001274 */
  1747. 00001272  3E04                     move.w     D7, D4
  1748. label00001274:
  1749. 00001274  31C7 0A60                move.w     [0x00000A60 /* ResErr */], D7
  1750. 00001278  3D6E FFEC 0014           move.w     [A6 + 0x14], [A6 - 0x14]
  1751. label0000127E:
  1752. 0000127E  4CEE 10F0 FFD4           movem.l    D4,D5,D6,D7,A4, [A6 - 0x2C]
  1753. 00001284  4E5E                     unlink     A6
  1754. 00001286  205F                     movea.l    A0, [A7]+
  1755. 00001288  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1756. 0000128C  4ED0                     jmp        [A0]
  1757. 0000128E  9048                     sub.w      D0, A0
  1758. 00001290  4F50                     chk.w      D7, [A0]
  1759. 00001292  454E                     chk.w      D2, A6
  1760. 00001294  5245                     addq.w     D5, 1
  1761. 00001296  5346                     subq.w     D6, 1
  1762. 00001298  494C                     chk.w      D4, A4
  1763. 0000129A  4547                     chk.w      D2, D7
  1764. 0000129C  4C55 4500                movem.l    A0,A2,A6, [A5]
  1765. 000012A0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1766. export_144: // at 000012A2 (misaligned)
  1767. 000012A4  0000 48E7                ori.b      D0, 0xE7
  1768. 000012A8  0720                     btst       -[A0], D3
  1769. 000012AA  7A00                     moveq.l    D5, 0x00
  1770. 000012AC  2E2E 0008                move.l     D7, [A6 + 0x8]
  1771. 000012B0  6744                     beq        +0x46 /* 000012F6 */
  1772. 000012B2  2047                     movea.l    A0, D7
  1773. 000012B4  2050                     movea.l    A0, [A0]
  1774. 000012B6  3C10                     move.w     D6, [A0]
  1775. label000012B8:
  1776. 000012B8  3446                     movea.w    A2, D6
  1777. 000012BA  D5CD                     add.l      A2, A5
  1778. 000012BC  7001                     moveq.l    D0, 0x01
  1779. 000012BE  D05A                     add.w      D0, [A2]+
  1780. 000012C0  E548                     lsl        D0.w, 2
  1781. 000012C2  D4C0                     add.w      A2, D0
  1782. 000012C4  4A45                     tst.w      D5
  1783. 000012C6  6604                     bne        +0x6 /* 000012CC */
  1784. 000012C8  3A2A 0004                move.w     D5, [A2 + 0x4]
  1785. label000012CC:
  1786. 000012CC  2047                     movea.l    A0, D7
  1787. 000012CE  2050                     movea.l    A0, [A0]
  1788. 000012D0  3086                     move.w     [A0], D6
  1789. 000012D2  322A 0008                move.w     D1, [A2 + 0x8]
  1790. 000012D6  6708                     beq        +0xA /* 000012E0 */
  1791. 000012D8  3041                     movea.w    A0, D1
  1792. 000012DA  D1CD                     add.l      A0, A5
  1793. 000012DC  2F07                     move.l     -[A7], D7
  1794. 000012DE  4E90                     jsr        [A0]
  1795. label000012E0:
  1796. 000012E0  3C12                     move.w     D6, [A2]
  1797. 000012E2  66D4                     bne        -0x2A /* 000012B8 */
  1798. 000012E4  4A45                     tst.w      D5
  1799. 000012E6  670A                     beq        +0xC /* 000012F2 */
  1800. 000012E8  3045                     movea.w    A0, D5
  1801. 000012EA  D1CD                     add.l      A0, A5
  1802. 000012EC  2F07                     move.l     -[A7], D7
  1803. 000012EE  4E90                     jsr        [A0]
  1804. 000012F0  6004                     bra        +0x6 /* 000012F6 */
  1805. label000012F2:
  1806. 000012F2  2047                     movea.l    A0, D7
  1807. 000012F4  A023                     syscall    DisposHandle/DisposeHandle
  1808. label000012F6:
  1809. 000012F6  4CEE 04E0 FFF0           movem.l    D5,D6,D7,A2, [A6 - 0x10]
  1810. 000012FC  4E5E                     unlink     A6
  1811. 000012FE  4E75                     rts
  1812. export_145:
  1813. 00001300  226F 0004                movea.l    A1, [A7 + 0x4]
  1814. 00001304  3221                     move.w     D1, -[A1]
  1815. 00001306  226F 0008                movea.l    A1, [A7 + 0x8]
  1816. 0000130A  2251                     movea.l    A1, [A1]
  1817. label0000130C:
  1818. 0000130C  3251                     movea.w    A1, [A1]
  1819. 0000130E  D3CD                     add.l      A1, A5
  1820. 00001310  3019                     move.w     D0, [A1]+
  1821. 00001312  6BF8                     bmi        -0x6 /* 0000130C */
  1822. label00001314:
  1823. 00001314  3059                     movea.w    A0, [A1]+
  1824. 00001316  B259                     cmp.w      D1, [A1]+
  1825. 00001318  57C8 FFFA                dbeq       D0, -0x8 /* 00001314 */
  1826. 0000131C  66EE                     bne        -0x10 /* 0000130C */
  1827. 0000131E  D1CD                     add.l      A0, A5
  1828. 00001320  4E75                     rts
  1829. export_146:
  1830. 00001322  4E56 0000                link       A6, 0
  1831. 00001326  48E7 0320                movem.l    -[A7], D6,D7,A2
  1832. 0000132A  2C2E 0008                move.l     D6, [A6 + 0x8]
  1833. 0000132E  9C8D                     sub.l      D6, A5
  1834. 00001330  7000                     moveq.l    D0, 0x00
  1835. 00001332  7E00                     moveq.l    D7, 0x00
  1836. 00001334  610C                     bsr        +0xE /* 00001342 */
  1837. label00001336:
  1838. 00001336  2007                     move.l     D0, D7
  1839. 00001338  4CEE 04C0 FFF4           movem.l    D6,D7,A2, [A6 - 0xC]
  1840. 0000133E  4E5E                     unlink     A6
  1841. 00001340  4E75                     rts
  1842. fn00001342:
  1843. 00001342  3446                     movea.w    A2, D6
  1844. 00001344  D5CD                     add.l      A2, A5
  1845. 00001346  7201                     moveq.l    D1, 0x01
  1846. 00001348  D25A                     add.w      D1, [A2]+
  1847. 0000134A  E549                     lsl        D1.w, 2
  1848. 0000134C  D4C1                     add.w      A2, D1
  1849. 0000134E  4A87                     tst.l      D7
  1850. 00001350  6628                     bne        +0x2A /* 0000137A */
  1851. 00001352  4A80                     tst.l      D0
  1852. 00001354  6604                     bne        +0x6 /* 0000135A */
  1853. 00001356  202A 000A                move.l     D0, [A2 + 0xA]
  1854. label0000135A:
  1855. 0000135A  322A 0002                move.w     D1, [A2 + 0x2]
  1856. 0000135E  6710                     beq        +0x12 /* 00001370 */
  1857. 00001360  3041                     movea.w    A0, D1
  1858. 00001362  D1CD                     add.l      A0, A5
  1859. 00001364  2F00                     move.l     -[A7], D0
  1860. 00001366  4E90                     jsr        [A0]
  1861. 00001368  588F                     addq.l     A7, 4
  1862. 0000136A  2E00                     move.l     D7, D0
  1863. 0000136C  660C                     bne        +0xE /* 0000137A */
  1864. 0000136E  60C6                     bra        -0x38 /* 00001336 */
  1865. label00001370:
  1866. 00001370  3212                     move.w     D1, [A2]
  1867. 00001372  6606                     bne        +0x8 /* 0000137A */
  1868. 00001374  A322                     syscall    NewHandleClear, flags=3
  1869. 00001376  2E08                     move.l     D7, A0
  1870. 00001378  67BC                     beq        -0x42 /* 00001336 */
  1871. label0000137A:
  1872. 0000137A  48E7 0220                movem.l    -[A7], D6,A2
  1873. 0000137E  3C12                     move.w     D6, [A2]
  1874. 00001380  6702                     beq        +0x4 /* 00001384 */
  1875. 00001382  61BE                     bsr        -0x40 /* 00001342 */
  1876. label00001384:
  1877. 00001384  4CDF 0440                movem.l    D6,A2, [A7]+
  1878. 00001388  2047                     movea.l    A0, D7
  1879. 0000138A  2050                     movea.l    A0, [A0]
  1880. 0000138C  3086                     move.w     [A0], D6
  1881. 0000138E  322A 0006                move.w     D1, [A2 + 0x6]
  1882. 00001392  670A                     beq        +0xC /* 0000139E */
  1883. 00001394  3041                     movea.w    A0, D1
  1884. 00001396  D1CD                     add.l      A0, A5
  1885. 00001398  2F07                     move.l     -[A7], D7
  1886. 0000139A  4E90                     jsr        [A0]
  1887. 0000139C  588F                     addq.l     A7, 4
  1888. label0000139E:
  1889. 0000139E  4E75                     rts
  1890.